結果 : how to get status code from exception in java example