Skip to content

[DE-120] Bugfix swallowing connection exceptions #420

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

Merged
merged 3 commits into from
Dec 23, 2021

Conversation

rashtao
Copy link
Collaborator

@rashtao rashtao commented Dec 23, 2021

On connection error, the cause exception(s) should not be swallowed.
This PR adds such exceptions to the main exception thrown to the caller.

Related resiliency tests: rashtao/arangodb-java-driver-resiliency-tests@62fe973

The cases to test are:

  • name resolution errors (i.e. UnknownHostException)
  • socket errors (i.e. ConnectException)
  • TLS setup errors (i.e. SSLHandshakeException)

@rashtao rashtao merged commit 6142b59 into master Dec 23, 2021
@rashtao rashtao deleted the bugfix/connection_exceptions branch July 19, 2022 09:36
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.

1 participant