I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 9e4f04cc authored by zzz's avatar zzz
Browse files

fix exception text

parent 412d641e
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ public class Hash extends DataStructureImpl { ...@@ -140,7 +140,7 @@ public class Hash extends DataStructureImpl {
public void writeBytes(OutputStream out) throws DataFormatException, IOException { public void writeBytes(OutputStream out) throws DataFormatException, IOException {
if (_data == null) throw new DataFormatException("No data in the hash to write out"); 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); out.write(_data);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment