@@ -254,10 +254,8 @@ public interface ArangoDatabaseAsync extends ArangoSerializationAccessor {
254254 * @param permissions
255255 * The permissions the user grant
256256 * @since ArangoDB 3.2.0
257- * @throws ArangoDBException
258257 */
259- CompletableFuture <Void > grantDefaultCollectionAccess (final String user , final Permissions permissions )
260- throws ArangoDBException ;
258+ CompletableFuture <Void > grantDefaultCollectionAccess (final String user , final Permissions permissions );
261259
262260 /**
263261 * Get specific database access level
@@ -269,7 +267,7 @@ CompletableFuture<Void> grantDefaultCollectionAccess(final String user, final Pe
269267 * @return permissions of the user
270268 * @since ArangoDB 3.2.0
271269 */
272- CompletableFuture <Permissions > getPermissions (final String user ) throws ArangoDBException ;
270+ CompletableFuture <Permissions > getPermissions (final String user );
273271
274272 /**
275273 * Performs a database query using the given {@code query} and {@code bindVars}, then returns a new
@@ -286,13 +284,12 @@ CompletableFuture<Void> grantDefaultCollectionAccess(final String user, final Pe
286284 * @param type
287285 * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
288286 * @return cursor of the results
289- * @throws ArangoDBException
290287 */
291288 <T > CompletableFuture <ArangoCursorAsync <T >> query (
292289 final String query ,
293290 final Map <String , Object > bindVars ,
294291 final AqlQueryOptions options ,
295- final Class <T > type ) throws ArangoDBException ;
292+ final Class <T > type );
296293
297294 /**
298295 * Performs a database query using the given {@code query}, then returns a new {@code ArangoCursor} instance for the
@@ -307,12 +304,11 @@ <T> CompletableFuture<ArangoCursorAsync<T>> query(
307304 * @param type
308305 * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
309306 * @return cursor of the results
310- * @throws ArangoDBException
311307 */
312308 <T > CompletableFuture <ArangoCursorAsync <T >> query (
313309 final String query ,
314310 final AqlQueryOptions options ,
315- final Class <T > type ) throws ArangoDBException ;
311+ final Class <T > type );
316312
317313 /**
318314 * Performs a database query using the given {@code query} and {@code bindVars}, then returns a new
@@ -327,12 +323,11 @@ <T> CompletableFuture<ArangoCursorAsync<T>> query(
327323 * @param type
328324 * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
329325 * @return cursor of the results
330- * @throws ArangoDBException
331326 */
332327 <T > CompletableFuture <ArangoCursorAsync <T >> query (
333328 final String query ,
334329 final Map <String , Object > bindVars ,
335- final Class <T > type ) throws ArangoDBException ;
330+ final Class <T > type );
336331
337332 /**
338333 * Performs a database query using the given {@code query}, then returns a new {@code ArangoCursor} instance for the
@@ -345,9 +340,8 @@ <T> CompletableFuture<ArangoCursorAsync<T>> query(
345340 * @param type
346341 * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
347342 * @return cursor of the results
348- * @throws ArangoDBException
349343 */
350- <T > CompletableFuture <ArangoCursorAsync <T >> query (final String query , final Class <T > type ) throws ArangoDBException ;
344+ <T > CompletableFuture <ArangoCursorAsync <T >> query (final String query , final Class <T > type );
351345
352346 /**
353347 * Return an cursor from the given cursor-ID if still existing
@@ -360,10 +354,8 @@ <T> CompletableFuture<ArangoCursorAsync<T>> query(
360354 * @param type
361355 * The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)
362356 * @return cursor of the results
363- * @throws ArangoDBException
364357 */
365- <T > CompletableFuture <ArangoCursorAsync <T >> cursor (final String cursorId , final Class <T > type )
366- throws ArangoDBException ;
358+ <T > CompletableFuture <ArangoCursorAsync <T >> cursor (final String cursorId , final Class <T > type );
367359
368360 /**
369361 * Explain an AQL query and return information about it
@@ -684,10 +676,9 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
684676 *
685677 * @see <a href="https://docs.arangodb.com/current/HTTP/Views/Getting.html#reads-all-views">API Documentation</a>
686678 * @return list of information about all views
687- * @throws ArangoDBException
688679 * @since ArangoDB 3.4.0
689680 */
690- CompletableFuture <Collection <ViewEntity >> getViews () throws ArangoDBException ;
681+ CompletableFuture <Collection <ViewEntity >> getViews ();
691682
692683 /**
693684 * Returns a {@code ArangoViewAsync} instance for the given view name.
@@ -718,9 +709,8 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
718709 * The type of the view
719710 * @return information about the view
720711 * @since ArangoDB 3.4.0
721- * @throws ArangoDBException
722712 */
723- CompletableFuture <ViewEntity > createView (String name , ViewType type ) throws ArangoDBException ;
713+ CompletableFuture <ViewEntity > createView (String name , ViewType type );
724714
725715 /**
726716 * Creates a ArangoSearch view with the given {@code options}, then returns view information from the server.
@@ -733,9 +723,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
733723 * Additional options, can be null
734724 * @return information about the view
735725 * @since ArangoDB 3.4.0
736- * @throws ArangoDBException
737726 */
738- CompletableFuture <ViewEntity > createArangoSearch (String name , ArangoSearchCreateOptions options )
739- throws ArangoDBException ;
727+ CompletableFuture <ViewEntity > createArangoSearch (String name , ArangoSearchCreateOptions options );
740728
741729}
0 commit comments