[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598951#comment-14598951
 ] 

Raul Gutierrez Segales commented on ZOOKEEPER-2154:
---------------------------------------------------

In the future, it could be a well-formed packet but with an error code that is 
new and unknown to the client.

How about instead of raising an IllegalArgumentException we mask it SystemError 
or APIError and log it?

> NPE in KeeperException
> ----------------------
>
>                 Key: ZOOKEEPER-2154
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2154
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.6
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>             Fix For: 3.4.8, 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-2154.patch
>
>
> KeeperException should handle exception is code is null...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to