結果 : java declare function throws exception