File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/arangodb/springframework/core/convert/resolver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public <A extends Annotation> Optional<ReferenceResolver<A>> getReferenceResolve
5050 return Optional .of ((ReferenceResolver <A >) new RefResolver (template .getObject (), transactionBridge .getIfUnique ()));
5151 }
5252 } catch (final Exception e ) {
53- throw new ArangoDBException (e );
53+ throw ArangoDBException . of (e );
5454 }
5555 return Optional .empty ();
5656 }
@@ -76,7 +76,7 @@ public <A extends Annotation> Optional<RelationResolver<A>> getRelationResolver(
7676 return Optional .of ((RelationResolver <A >) new RelationsResolver (template .getObject (), transactionBridge .getIfUnique ()));
7777 }
7878 } catch (final Exception e ) {
79- throw new ArangoDBException (e );
79+ throw ArangoDBException . of (e );
8080 }
8181 return Optional .empty ();
8282 }
You can’t perform that action at this time.
0 commit comments