There is one, but I think we should make one for Zookeeper specifically.


On 2/11/13 5:58 PM, "James Taylor" <notifications@github.com> wrote:

In src/main/java/com/salesforce/phoenix/jdbc/PhoenixEmbeddedDriver.java:
> @@ -83,7 +85,8 @@ protected static String getZookeeperQuorum(String url) throws SQLException {
>          if (endIndex > begIndex) {
>              return url.substring(begIndex, endIndex);
>          }
> -        throw new SQLException("Zookeeper quorum not found in connection url \"" + url +"\"");
> +        throw new SQLExceptionInfo.Builder(SQLExceptionCodeEnum.CANNOT_CONNECT_TO_ZOOKEEPER)
Is there a standard connection failed sqlstate?


-
 Reply to this email directly or view it on GitHub <https://github.com/forcedotcom/phoenix/pull/35/files#r2972555> .