121122123124125126127128
public void remove(Transaction tx, String value, Key key, int pos, int elemID, int attrID) throws DBException { try { removeValue(tx, key); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on remove", e); } }
130131132133134135136137
public void add(Transaction tx, String value, Key key, int pos, int elemID, int attrID) throws DBException { try { addValue(tx, key, 0); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on add", e); } }
311312313314315316317318319320321
} catch ( DBException d ) { throw d; } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on add", e); } catch ( Exception e ) { e.printStackTrace(System.err); } }
349350351352353354355356357358359
} } }); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on query", e); } catch ( Exception e ) { e.printStackTrace(System.err); }
272273274275276277278279280281282
321322323324325326327328329330331