結果 : how to throw an exception in python