226227228229230231232233
keys = new ArrayList((int)fileHeader.getRecordCount()); query(tx, null, this); iter = keys.iterator(); } catch ( IOException e ) { throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error generating RecordSet", e); } }
77787980818283
return "MemFiler"; } private void checkOpened() throws DBException { if ( !opened ) throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed"); }
82838485868788
throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed"); } private void checkReadOnly() throws DBException { if ( readOnly ) throw new FilerException(FaultCodes.COL_COLLECTION_READ_ONLY, "Filer is read-only"); }
382383384385386387388
return p; } protected final void checkOpened() throws DBException { if ( !opened ) throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed"); }
442443444445446447448449
reset(); return true; } catch ( Exception e ) { throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error creating " + file.getName(), e); } }
470471472473474475476477
openTransactionLog(); return opened; } catch ( Exception e ) { throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error opening " + file.getName(), e); } }
503504505506507508509510
} else return false; } catch ( Exception e ) { throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error closing " + file.getName(), e); } }
523524525526527528529530
return getFile().delete(); else return true; } catch ( Exception e ) { throw new FilerException(FaultCodes.COL_CANNOT_DROP, "Can't drop " + file.getName(), e); } }
549550551552553554555
catch ( Exception e ) { error = true; } if ( error ) throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error performing flush!"); }
979899100101102103
opened = false; } private void checkOpened() throws DBException { if ( !opened ) throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed"); }