/** * Resets the store by deleting the contents of the tables and reinitialising them. * @throws BlockStoreException If the tables couldn't be cleared and initialised. */ public void resetStore() throws BlockStoreException { maybeConnect(); try { deleteStore(); createTables(); initFromDatabase(); } catch (SQLException ex) { throw new RuntimeException(ex); } }
/** * Resets the store by deleting the contents of the tables and reinitialising them. * @throws BlockStoreException If the tables couldn't be cleared and initialised. */ public void resetStore() throws BlockStoreException { maybeConnect(); try { deleteStore(); createTables(); initFromDatabase(); } catch (SQLException ex) { throw new RuntimeException(ex); } }
/** * Resets the store by deleting the contents of the tables and reinitialising them. * @throws BlockStoreException If the tables couldn't be cleared and initialised. */ public void resetStore() throws BlockStoreException { maybeConnect(); try { deleteStore(); createTables(); initFromDatabase(); } catch (SQLException ex) { throw new RuntimeException(ex); } }
/** * Resets the store by deleting the contents of the tables and reinitialising them. * @throws BlockStoreException If the tables couldn't be cleared and initialised. */ public void resetStore() throws BlockStoreException { maybeConnect(); try { deleteStore(); createTables(); initFromDatabase(); } catch (SQLException ex) { throw new RuntimeException(ex); } }