private DBFactory newDBFactory(){
  try {
    return newJniDBFactory();
  }
 catch (  Exception ex) {
    try {
      return newJavaDBFactory();
    }
 catch (    Exception ex2) {
      throw new RuntimeException("Unable to create a LevelDB DBFactory instance. " + "Tried JNI and pure Java. " + "The stacktrace is the pure Java attempt.",ex2);
    }
  }
}

private DBFactory newDBFactory ( ) { try { return newJniDBFactory ( ) ; } catch ( Exception ex ) { try { return newJavaDBFactory ( ) ; } catch ( Exception ex2 ) { throw new RuntimeException ( "Unable to create a LevelDB DBFactory instance. " + "Tried JNI and pure Java. " + "The stacktrace is the pure Java attempt." , ex2 ) ; } } }
tries in order : jni and then pure java leveldb implementations .
