-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DE-682] unify exception handling #281
Comments
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
rashtao
added a commit
that referenced
this issue
Sep 5, 2023
In ba4a37f I reverted your changes to translate via |
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 5, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
…upported exceptions
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
…upported exceptions
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
…upported exceptions
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
aburmeis
added a commit
to aburmeis/spring-data
that referenced
this issue
Sep 6, 2023
…upported exceptions
@rashtao thanks, so this ist mostly a better exception translation |
rashtao
added a commit
that referenced
this issue
Sep 6, 2023
* #281 use data access utils for exception handling * #281 translate exceptions for query * #281 more specific exception translation * #281 test query exception translation * #281 declare error constants, translator returns null for unsupported exceptions * Update src/main/java/com/arangodb/springframework/core/util/ArangoExceptionTranslator.java --------- Co-authored-by: Michele Rastelli <rashtao@gmail.com>
fixed in #282 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently Arango Spring Data handles
ArangoDBException
usingArangoExceptionTranslator
for most methods ofArangoOperations
except thequery()
ones. This is not handy and not what a user would expect from a Spring Data implementation as all queries (derived queries and those using@Query
annotation) end up in a query call throwingArangoDBException
instead of the expectedDataAccessException
.So even
query()
should use exception translation and maybeArangoExceptionTranslator
could be improved using error numbers to translate exceptions more specific.The text was updated successfully, but these errors were encountered: