結果 : check exception type in python