use of org.neo4j.android.client.Neo4jServiceException in project neo4j-mobile-android by neo4j-contrib.
the class DBManager method openOrCreateNeo4jDatabase.
@Override
public void openOrCreateNeo4jDatabase(String databaseName) throws DBInspectorException {
try {
doShutdownNeo4jDatabase(databaseName);
this.database = neo4jService.openOrCreateDatabase(databaseName);
this.databaseName = databaseName;
} catch (Neo4jServiceException e) {
throw new DBInspectorException(e);
} catch (RemoteException e) {
throw new DBInspectorException(e);
}
}
Aggregations