From 9e4f04cc18d44bf2210b5b30709b65dd9bdbb249 Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 2 Dec 2009 16:50:15 +0000 Subject: [PATCH] fix exception text --- core/java/src/net/i2p/data/Hash.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/src/net/i2p/data/Hash.java b/core/java/src/net/i2p/data/Hash.java index 10856d0c2..ddf210c54 100644 --- a/core/java/src/net/i2p/data/Hash.java +++ b/core/java/src/net/i2p/data/Hash.java @@ -140,7 +140,7 @@ public class Hash extends DataStructureImpl { public void writeBytes(OutputStream out) throws DataFormatException, IOException { if (_data == null) throw new DataFormatException("No data in the hash to write out"); - if (_data.length != HASH_LENGTH) throw new DataFormatException("Invalid size of data in the private key"); + if (_data.length != HASH_LENGTH) throw new DataFormatException("Invalid size of data in the hash"); out.write(_data); }