結果 : if condition throw exception java