On Tuesday 25 November 2008 12:18, j16sdiz at freenetproject.org wrote:
> 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();
Please log an ERROR with the stack trace.
> + throw ioException;
> }
> os.write(buf, 0, bytes);
> moved += bytes;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20081125/3e9fc245/attachment.pgp>