You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/29 09:32:21 UTC
[jira] [Commented] (TINKERPOP-1419) Wrong exception when a
SessionedClient is initialized with no available host
[ https://issues.apache.org/jira/browse/TINKERPOP-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15445371#comment-15445371 ]
ASF GitHub Bot commented on TINKERPOP-1419:
-------------------------------------------
GitHub user davidclement90 opened a pull request:
https://github.com/apache/tinkerpop/pull/392
TINKERPOP-1419 : Throw a proper exception when no available host in a SessionedClient
When a SessionedClient is initialized and no host is available in the cluster,
A proper exception is thrown instead of an IndexOutOfBoundsException
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davidclement90/tinkerpop TINKERPOP-1419
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/392.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #392
----
commit a50546397d05f53a64717e7c4ed9535c27dd3eed
Author: davidclement90 <da...@laposte.net>
Date: 2016-08-29T09:30:49Z
Throw a proper exception when no available host
When a SessionedClient is initialized and no host is available in the cluster,
A proper exception is thrown instead of an IndexOutOfBoundsException
----
> Wrong exception when a SessionedClient is initialized with no available host
> ----------------------------------------------------------------------------
>
> Key: TINKERPOP-1419
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1419
> Project: TinkerPop
> Issue Type: Bug
> Components: driver
> Affects Versions: 3.2.1
> Reporter: David Clement
> Priority: Trivial
>
> When a SessionedClient is initialized and no host is available in the cluster,
> We got an indexOutOfBoundsException instead of a proper Exception like when we try to contact a closed client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)