結果 : how to get error code from exception in java