/** * Throws a PersistenceException if the database is closed, otherwise it does nothing. * * @throws PersistenceException */ private void testForOpenDatabase() throws PersistenceException { if (_db.isClosed()) { throw new PersistenceException(Messages.message("jdo.dbClosed")); } }