raise Exception with this message instead of print and raise