Remove redundant exception message
This commit is contained in:
parent
0a1c5bef21
commit
e7fd2afc25
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user