exception tweak

This commit is contained in:
zzz
2014-09-15 18:23:58 +00:00
parent c1e8ea0e4a
commit 7a450c526c
2 changed files with 8 additions and 2 deletions

View File

@ -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();
}
/**

View File

@ -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();
}
/**