more re-use after timeout
This commit is contained in:
parent
723cf90dd2
commit
14a18fd770
6 changed files with 301 additions and 163 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue