Author: toad
Date: 2009-04-02 19:21:17 +0000 (Thu, 02 Apr 2009)
New Revision: 26373

Modified:
   trunk/freenet/src/freenet/client/FetchException.java
Log:
Wrong initCause


Modified: trunk/freenet/src/freenet/client/FetchException.java
===================================================================
--- trunk/freenet/src/freenet/client/FetchException.java        2009-04-02 
18:15:34 UTC (rev 26372)
+++ trunk/freenet/src/freenet/client/FetchException.java        2009-04-02 
19:21:17 UTC (rev 26373)
@@ -227,7 +227,8 @@
 
        public FetchException(FetchException e, FreenetURI uri) {
                super(e.getMessage());
-               initCause(e);
+               if(e.getCause() != null)
+                       initCause(e.getCause());
                this.mode = e.mode;
                this.newURI = uri;
                this.errorCodes = e.errorCodes;

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to