fix exception text

This commit is contained in:
zzz committed 2009-12-02 16:50:15 +00:00
1 parent 412d641eb6
commit 9e4f04cc18
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}