in kyuubi-relocated-zookeeper-parent/kyuubi-relocated-zookeeper-34/src/main/java/org/apache/zookeeper/ZooKeeperMain.java [569:595]
protected boolean processCmd(MyCommandOptions co)
throws KeeperException, IOException, InterruptedException {
try {
return processZKCmd(co);
} catch (IllegalArgumentException e) {
System.err.println("Command failed: " + e);
} catch (KeeperException.NoNodeException e) {
System.err.println("Node does not exist: " + e.getPath());
} catch (KeeperException.NoChildrenForEphemeralsException e) {
System.err.println("Ephemerals cannot have children: " + e.getPath());
} catch (KeeperException.NodeExistsException e) {
System.err.println("Node already exists: " + e.getPath());
} catch (KeeperException.NotEmptyException e) {
System.err.println("Node not empty: " + e.getPath());
} catch (KeeperException.NotReadOnlyException e) {
System.err.println("Not a read-only call: " + e.getPath());
} catch (KeeperException.InvalidACLException e) {
System.err.println("Acl is not valid : " + e.getPath());
} catch (KeeperException.NoAuthException e) {
System.err.println("Authentication is not valid : " + e.getPath());
} catch (KeeperException.BadArgumentsException e) {
System.err.println("Arguments are not valid : " + e.getPath());
} catch (KeeperException.BadVersionException e) {
System.err.println("version No is not valid : " + e.getPath());
}
return false;
}