@Override public ArangoDBVersion getVersion() throws ArangoDBException { return db().getVersion(); }
@Override public ArangoDBVersion getVersion() throws DataAccessException { try { if (version == null) { version = db().getVersion(); } return version; } catch (final ArangoDBException e) { throw translateExceptionIfPossible(e); } }
/** * Request the version of ArangoDB. * * @return the Version number * @throws ArangoDBGraphException if user has no access to the db */ public String getVersion() throws ArangoDBGraphException { try { return db.getVersion().getVersion(); } catch (ArangoDBException ex) { throw ArangoDBExceptions.getArangoDBException(ex); } }
@Override public ArangoDBVersion getVersion() throws DataAccessException { try { if (version == null) { version = db().getVersion(); } return version; } catch (final ArangoDBException e) { throw translateExceptionIfPossible(e); } }