try { long p = findValue(key); if (p == KEY_NOT_FOUND) return false;  update(key, p, value); } catch (BTreeException bte) { LOG.debug(bte); bte.printStackTrace(); return false; } catch (IOException ioe) { LOG.debug(ioe); return false; } return true; }
try { long p = findValue(key); if (p == KEY_NOT_FOUND) return false; update(p, value); } catch (BTreeException bte) { LOG.debug(bte); bte.printStackTrace(); return false; } catch (IOException ioe) { LOG.debug(ioe); return false; } return true; }
	public boolean update(Value key, byte[] value) throws ReadOnlyException {		try {			long p = findValue(key);			if (p == KEY_NOT_FOUND)				return false;			// key not found			update(key, p, value);		} catch (BTreeException bte) {			LOG.debug(bte);			bte.printStackTrace();			return false;		} catch (IOException ioe) {			LOG.debug(ioe);			return false;		}		return true;	}