public void test_niceErrors(){
  final BTree btree=BTree.createTransient(new IndexMetadata(UUID.randomUUID()));
  try {
    btree.handleCommit(System.currentTimeMillis());
  }
 catch (  UnsupportedOperationException ex) {
    if (log.isInfoEnabled())     log.info("Ignoring expected exception: " + ex);
  }
  try {
    btree.writeCheckpoint();
  }
 catch (  UnsupportedOperationException ex) {
    if (log.isInfoEnabled())     log.info("Ignoring expected exception: " + ex);
  }
}

public void test_niceErrors ( ) { final BTree btree = BTree . createTransient ( new IndexMetadata ( UUID . randomUUID ( ) ) ) ; try { btree . handleCommit ( System . currentTimeMillis ( ) ) ; } catch ( UnsupportedOperationException ex ) { if ( log . isInfoEnabled ( ) ) log . info ( "Ignoring expected exception: " + ex ) ; } try { btree . writeCheckpoint ( ) ; } catch ( UnsupportedOperationException ex ) { if ( log . isInfoEnabled ( ) ) log . info ( "Ignoring expected exception: " + ex ) ; } }
tests various methods that deal with persistence and makes sure that we have reasonable error messages .
