結果 : how to get exception status code in java