結果 : java throw invalid input exception