2006-08-21 Complication

* Fix error reporting discrepancy (thanks for helping notice, yojoe!)
This commit is contained in:
complication
2006-08-21 05:55:33 +00:00
committed by zzz
parent 48921a0875
commit 03e8875c27
3 changed files with 7 additions and 4 deletions

View File

@ -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);