mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-05-31 22:14:12 +00:00
fix exception text
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user