Author: toad
Date: 2008-06-27 12:45:58 +0000 (Fri, 27 Jun 2008)
New Revision: 20818
Modified:
branches/db4o/freenet/src/freenet/support/io/BaseFileBucket.java
Log:
Logging
Modified: branches/db4o/freenet/src/freenet/support/io/BaseFileBucket.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/io/BaseFileBucket.java
2008-06-27 12:18:15 UTC (rev 20817)
+++ branches/db4o/freenet/src/freenet/support/io/BaseFileBucket.java
2008-06-27 12:45:58 UTC (rev 20818)
@@ -241,7 +241,7 @@
public synchronized InputStream getInputStream() throws IOException {
if(freed)
- throw new IOException("File already freed");
+ throw new IOException("File already freed: "+this);
File file = getFile();
if(!file.exists()) {
Logger.normal(this, "File does not exist: "+file+" for
"+this);