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