結果 : implement exception class python