結果 : if method throws exception java