I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 7a450c52 authored by zzz's avatar zzz
Browse files

exception tweak

parent c1e8ea0e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment