forked from I2P_Developers/i2p.i2p
exception tweak
This commit is contained in:
@ -70,9 +70,12 @@ public class MessagePayloadMessage extends I2CPMessageImpl {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws UnsupportedOperationException always
|
||||
*/
|
||||
@Override
|
||||
protected byte[] doWriteMessage() throws I2CPMessageException, IOException {
|
||||
throw new RuntimeException("go away, we dont want any");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -101,9 +101,12 @@ public class SendMessageMessage extends I2CPMessageImpl {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws UnsupportedOperationException always
|
||||
*/
|
||||
@Override
|
||||
protected byte[] doWriteMessage() throws I2CPMessageException, IOException {
|
||||
throw new RuntimeException("wtf, dont run me");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user