}
void checkClosed() throws PersistitClosedException, PersistitInterruptedException {
if (isClosed()) {
checkFatal();
throw new PersistitClosedException();
}
if (Thread.currentThread().isInterrupted()) {
throw new PersistitInterruptedException(new InterruptedException());
}
}