FlorianHockmann opened a new pull request #1039: TINKERPOP-2131 Gremlin.Net: Better explain
connection pool exceptions
URL: https://github.com/apache/tinkerpop/pull/1039
https://issues.apache.org/jira/browse/TINKERPOP-2131
Two new exception classes are added to better reveal the reason for a `NoConnectionAvailableException`:
* The pool is empty because the server is unavailable
-> `ServerUnavailableException`
* All connections have reached the max in-flight requests limit
-> `ConnectionPoolBusyException`
Both extend `NoConnectionAvailableException` so this is a non-breaking change.
VOTE +1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|