Author: nextgens
Date: 2008-08-17 12:09:15 +0000 (Sun, 17 Aug 2008)
New Revision: 21956

Modified:
   trunk/freenet/src/freenet/client/ArchiveManager.java
Log:
logging

Modified: trunk/freenet/src/freenet/client/ArchiveManager.java
===================================================================
--- trunk/freenet/src/freenet/client/ArchiveManager.java        2008-08-17 
11:54:42 UTC (rev 21955)
+++ trunk/freenet/src/freenet/client/ArchiveManager.java        2008-08-17 
12:09:15 UTC (rev 21956)
@@ -199,7 +199,7 @@
                        ctx.setLastHash(realHash);
                }
                if(data.size() > maxArchiveSize)
-                       throw new ArchiveFailureException("Archive too big");
+                       throw new ArchiveFailureException("Archive too big 
("+data.size()+" > "+maxArchiveSize+")!");
                if(archiveType != Metadata.ARCHIVE_ZIP)
                        throw new ArchiveFailureException("Unknown or 
unsupported archive algorithm "+archiveType);



Reply via email to