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
163164165166167168169170
public void remove(String value, Key key, int pos, int len, short elemID, short attrID) throws DBException { try { removeValue(key); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on remove", e); } }
172173174175176177178179
public void add(String value, Key key, int pos, int len, short elemID, short attrID) throws DBException { try { addValue(key, 0); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on add", e); } }
366367368369370371372373374375376
} catch ( DBException e ) { throw e; } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on add", e); } catch ( Exception e ) { if (log.isDebugEnabled()) { log.debug("No message", e); }
420421422423424425426427428429430
return true; } }); } catch ( IOException e ) { throw new BTreeCorruptException("Corruption detected on query", e); } catch ( Exception e ) { if (log.isDebugEnabled()) { log.debug("No message", e); }