結果 : how to write exception class in python