結果 : if statement throw exception java