Remove redundant exception message

This commit is contained in:
Trustin Lee 2012-11-26 15:33:57 +09:00
parent 0a1c5bef21
commit e7fd2afc25

View File

@ -79,7 +79,7 @@ public class CompatibleMarshallingDecoder extends ReplayingDecoder<VoidEnum> {
return obj; return obj;
} catch (LimitingByteInput.TooBigObjectException e) { } catch (LimitingByteInput.TooBigObjectException e) {
discardingTooLongFrame = true; discardingTooLongFrame = true;
throw new TooLongFrameException("Object to big to unmarshal"); throw new TooLongFrameException();
} finally { } finally {
// Call close in a finally block as the ReplayingDecoder will throw an Error if not enough bytes are // Call close in a finally block as the ReplayingDecoder will throw an Error if not enough bytes are
// readable. This helps to be sure that we do not leak resource // readable. This helps to be sure that we do not leak resource