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
50
50
return Optional .of ((ReferenceResolver <A >) new RefResolver (template .getObject (), transactionBridge .getIfUnique ()));
51
51
}
52
52
} catch (final Exception e ) {
53
- throw new ArangoDBException (e );
53
+ throw ArangoDBException . of (e );
54
54
}
55
55
return Optional .empty ();
56
56
}
@@ -76,7 +76,7 @@ public <A extends Annotation> Optional<RelationResolver<A>> getRelationResolver(
76
76
return Optional .of ((RelationResolver <A >) new RelationsResolver (template .getObject (), transactionBridge .getIfUnique ()));
77
77
}
78
78
} catch (final Exception e ) {
79
- throw new ArangoDBException (e );
79
+ throw ArangoDBException . of (e );
80
80
}
81
81
return Optional .empty ();
82
82
}
You can’t perform that action at this time.
0 commit comments