Author: j16sdiz
Date: 2008-11-25 12:18:14 +0000 (Tue, 25 Nov 2008)
New Revision: 23853
Modified:
trunk/freenet/src/freenet/support/io/BucketTools.java
Log:
logging
Modified: trunk/freenet/src/freenet/support/io/BucketTools.java
===================================================================
--- trunk/freenet/src/freenet/support/io/BucketTools.java 2008-11-25
12:02:13 UTC (rev 23852)
+++ trunk/freenet/src/freenet/support/io/BucketTools.java 2008-11-25
12:18:14 UTC (rev 23853)
@@ -316,7 +316,10 @@
if(bytes <= 0) {
if(truncateLength == Long.MAX_VALUE)
break;
- throw new IOException("Could not move
required quantity of data in copyFrom: "+bytes+" (moved "+moved+" of
"+truncateLength+"): unable to read from "+is);
+ IOException ioException = new
IOException("Could not move required quantity of data in copyFrom: "
+ + bytes + " (moved " + moved +
" of " + truncateLength + "): unable to read from " + is);
+ ioException.printStackTrace();
+ throw ioException;
}
os.write(buf, 0, bytes);
moved += bytes;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs