public long length() {try {return channel.size();} catch (IOException ioe) {throw new RuntimeException("IOException during length(): " + this, ioe);}}
public long length(){try{return channel.size();}catch (IOException ioe){throw new Exception("IOException during length(): " + this, ioe);}}