Skip to content

[DE-682] unify exception handling #281

@aburmeis

Description

@aburmeis

Currently Arango Spring Data handles ArangoDBException using ArangoExceptionTranslator for most methods of ArangoOperations except the query() 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 throwing ArangoDBException instead of the expected DataAccessException.

So even query() should use exception translation and maybe ArangoExceptionTranslator could be improved using error numbers to translate exceptions more specific.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions