Author: nextgens
Date: 2007-11-23 13:11:35 +0000 (Fri, 23 Nov 2007)
New Revision: 15936
Modified:
trunk/freenet/src/freenet/support/SimpleFieldSet.java
Log:
SimpleFieldSet: send a more explicit IOError description
Modified: trunk/freenet/src/freenet/support/SimpleFieldSet.java
===================================================================
--- trunk/freenet/src/freenet/support/SimpleFieldSet.java 2007-11-22
22:45:33 UTC (rev 15935)
+++ trunk/freenet/src/freenet/support/SimpleFieldSet.java 2007-11-23
13:11:35 UTC (rev 15936)
@@ -115,7 +115,7 @@
String line = br.readLine();
if(line == null) {
if(firstLine) throw new EOFException();
- throw new IOException(); // No end marker!
+ throw new IOException("No end Marker!");
}
firstLine = false;
int index = line.indexOf(KEYVALUE_SEPARATOR_CHAR);