there's a more general exception in the throws list already
This commit is contained in:
parent
b858fab8d7
commit
dd567e059f
@ -46,8 +46,7 @@ class CompactObjectInputStream extends ObjectInputStream {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void readStreamHeader() throws IOException,
|
||||
StreamCorruptedException {
|
||||
protected void readStreamHeader() throws IOException {
|
||||
int version = readByte() & 0xFF;
|
||||
if (version != STREAM_VERSION) {
|
||||
throw new StreamCorruptedException(
|
||||
|
Loading…
x
Reference in New Issue
Block a user