You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/09/12 16:05:06 UTC

svn commit: r996316 - /commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java

Author: sebb
Date: Sun Sep 12 14:05:05 2010
New Revision: 996316

URL: http://svn.apache.org/viewvc?rev=996316&view=rev
Log:
More detail in Exception message

Modified:
    commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java

Modified: commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java?rev=996316&r1=996315&r2=996316&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java (original)
+++ commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/common/BinaryFileFunctions.java Sun Sep 12 14:05:05 2010
@@ -501,7 +501,7 @@ public class BinaryFileFunctions impleme
             int count = is.read(result, read, length - read);
             // Debug.debug("count", count);
             if (count < 1)
-                throw new IOException(exception);
+                throw new IOException(exception+" count: "+ count + " read: "+read+" length: "+length);
 
             read += count;
         }