You could raise some exceptions without the word 'raise'. >>> 'a' + 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: cannot concatenate 'str' and 'int' objects Todd DeLuca