Author: j16sdiz
Date: 2008-10-25 00:10:20 +0000 (Sat, 25 Oct 2008)
New Revision: 23092

Modified:
   trunk/freenet/src/freenet/client/async/SingleFileInserter.java
Log:
try next compressor type instead of throwing

Modified: trunk/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2008-10-24 23:24:37 UTC (rev 23091)
+++ trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2008-10-25 00:10:20 UTC (rev 23092)
@@ -203,7 +203,8 @@
                                throw new 
InsertException(InsertException.BUCKET_ERROR, e, null);
                                } catch(CompressionOutputSizeException e) {
                                // Impossible
-                               throw new 
InsertException(InsertException.INTERNAL_ERROR, e,null);
+                               // throw new 
InsertException(InsertException.INTERNAL_ERROR, e,null);
+                                       continue;       // try next compressor 
type
                        }
                }
                }


Reply via email to