mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
2006-08-21 Complication
* Fix error reporting discrepancy (thanks for helping notice, yojoe!)
This commit is contained in:
1 parent
48921a0875
commit
03e8875c27
3 files changed
+7
-4
No files matched your search
@@ -86,7 +86,7 @@ public class RouterIdentity extends DataStructureImpl {
|
||||
|
||||
public void writeBytes(OutputStream out) throws DataFormatException, IOException {
|
||||
if ((_certificate == null) || (_publicKey == null) || (_signingKey == null))
|
||||
throw new DataFormatException("Not enough data to format the destination");
|
||||
throw new DataFormatException("Not enough data to format the router identity");
|
||||
_publicKey.writeBytes(out);
|
||||
_signingKey.writeBytes(out);
|
||||
_certificate.writeBytes(out);
|
||||
|
||||
Reference in new issue
Block a user