Author: nextgens
Date: 2008-08-17 12:22:00 +0000 (Sun, 17 Aug 2008)
New Revision: 21957
Modified:
trunk/freenet/src/freenet/keys/Key.java
Log:
logging
Modified: trunk/freenet/src/freenet/keys/Key.java
===================================================================
--- trunk/freenet/src/freenet/keys/Key.java 2008-08-17 12:09:15 UTC (rev
21956)
+++ trunk/freenet/src/freenet/keys/Key.java 2008-08-17 12:22:00 UTC (rev
21957)
@@ -136,7 +136,7 @@
len = ((((((output[0] & 0xff) << 8) + (output[1] & 0xff)) << 8)
+ (output[2] & 0xff)) << 8) +
(output[3] & 0xff);
if(len > maxLength)
- throw new TooBigException("Invalid precompressed size: "+len);
+ throw new TooBigException("Invalid precompressed size: "+len +
" maxlength="+maxLength);
Compressor decompressor =
Compressor.getCompressionAlgorithmByMetadataID(compressionAlgorithm);
Bucket inputBucket = new SimpleReadOnlyArrayBucket(output,
shortLength?2:4, outputLength-(shortLength?2:4));
try {