Skip to content
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

Abort discovery on bookmark failures and continue on authorization expired error #1043

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

injectives
Copy link
Contributor

@injectives injectives commented Oct 25, 2021

This update ensures that discovery gets aborted on ClientException with the following codes:

  • Neo.ClientError.Transaction.InvalidBookmark
  • Neo.ClientError.Transaction.InvalidBookmarkMixture

In addition, it makes sure that it continues on AuthorizationExpiredException.

All security exceptions are mapped to SecurityException.

…pired error

This update ensures that discovery gets aborted on `ClientException` with the following codes:
- `Neo.ClientError.Transaction.InvalidBookmark`
- `Neo.ClientError.Transaction.InvalidBookmarkMixture`

In addition, it makes sure that it continues on `AuthorizationExpiredException`.

All security exceptions are mapped to `SecurityException`.
@injectives injectives merged commit 4658aa6 into neo4j:4.4 Oct 26, 2021
@injectives injectives deleted the feature/discy branch October 26, 2021 16:06
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request Nov 1, 2021
…pired error (neo4j#1043)

This update ensures that discovery gets aborted on `ClientException` with the following codes:
- `Neo.ClientError.Transaction.InvalidBookmark`
- `Neo.ClientError.Transaction.InvalidBookmarkMixture`

In addition, it makes sure that it continues on `AuthorizationExpiredException`.

All security exceptions are mapped to `SecurityException`.
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request Nov 1, 2021
…pired error (neo4j#1043)

This update ensures that discovery gets aborted on `ClientException` with the following codes:
- `Neo.ClientError.Transaction.InvalidBookmark`
- `Neo.ClientError.Transaction.InvalidBookmarkMixture`

In addition, it makes sure that it continues on `AuthorizationExpiredException`.

All security exceptions are mapped to `SecurityException`.
injectives added a commit that referenced this pull request Nov 2, 2021
…pired error (#1043) (#1055)

This update ensures that discovery gets aborted on `ClientException` with the following codes:
- `Neo.ClientError.Transaction.InvalidBookmark`
- `Neo.ClientError.Transaction.InvalidBookmarkMixture`

In addition, it makes sure that it continues on `AuthorizationExpiredException`.

All security exceptions are mapped to `SecurityException`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants