protected void setLengthSupport(long length) throws FMFileManagerException { try { file_access.setLength(raf, length); } catch (FMFileManagerException e) { if (OUTPUT_REOPEN_RELATED_ERRORS) { Debug.printStackTrace(e); } try { reopen(e); file_access.setLength(raf, length); } catch (Throwable e2) { throw (e); } } }
protected long getLengthSupport() throws FMFileManagerException { try { return (file_access.getLength(raf)); } catch (FMFileManagerException e) { if (OUTPUT_REOPEN_RELATED_ERRORS) { Debug.printStackTrace(e); } try { reopen(e); return (file_access.getLength(raf)); } catch (Throwable e2) { throw (e); } } }
protected void writeSupport(DirectByteBuffer[] buffers, long position) throws FMFileManagerException { try { file_access.write(raf, buffers, position); } catch (FMFileManagerException e) { if (OUTPUT_REOPEN_RELATED_ERRORS) { Debug.printStackTrace(e); } try { reopen(e); file_access.write(raf, buffers, position); } catch (Throwable e2) { throw (e); } } }