more re-use after timeout

This commit is contained in:
Arndt 2015-10-25 13:39:23 +01:00
parent 723cf90dd2
commit 14a18fd770
6 changed files with 301 additions and 163 deletions

View file

@ -194,7 +194,7 @@ public final class NodesCache
}
catch (Exception e)
{
throw new RuntimeException( "error reading datafile " + currentFileName + ": ", e );
throw new RuntimeException( "error reading datafile " + currentFileName + ": " + e, e );
}
}

View file

@ -108,7 +108,7 @@ final public class PhysicalFile
if ( len < pos+extraLen ) // > is o.k. for future extensions!
{
throw new IOException( "file of size " + len + " + too short, should be " + (pos+extraLen) );
throw new IOException( "file of size " + len + " too short, should be " + (pos+extraLen) );
}
ra.seek( pos );