Uses of Class
org.apache.zookeeper.KeeperException

Packages that use KeeperException
org.apache.zookeeper   
 

Uses of KeeperException in org.apache.zookeeper
 

Subclasses of KeeperException in org.apache.zookeeper
static class KeeperException.APIErrorException
           
static class KeeperException.AuthFailedException
           
static class KeeperException.BadArgumentsException
           
static class KeeperException.BadVersionException
           
static class KeeperException.ConnectionLossException
           
static class KeeperException.DataInconsistencyException
           
static class KeeperException.InvalidACLException
           
static class KeeperException.InvalidCallbackException
           
static class KeeperException.MarshallingErrorException
           
static class KeeperException.NoAuthException
           
static class KeeperException.NoChildrenForEphemeralsException
           
static class KeeperException.NodeExistsException
           
static class KeeperException.NoNodeException
           
static class KeeperException.NotEmptyException
           
static class KeeperException.OperationTimeoutException
           
static class KeeperException.RuntimeInconsistencyException
           
static class KeeperException.SessionExpiredException
           
static class KeeperException.SystemErrorException
           
static class KeeperException.UnimplementedException
           
 

Methods in org.apache.zookeeper that return KeeperException
static KeeperException KeeperException.create(int code)
          Deprecated. deprecated in 3.1.0, use create(Code) instead
static KeeperException KeeperException.create(int code, String path)
          Deprecated. deprecated in 3.1.0, use create(Code, String) instead
static KeeperException KeeperException.create(KeeperException.Code code)
          All non-specific keeper exceptions should be constructed via this factory method in order to guarantee consistency in error codes and such.
static KeeperException KeeperException.create(KeeperException.Code code, String path)
          All non-specific keeper exceptions should be constructed via this factory method in order to guarantee consistency in error codes and such.
 

Methods in org.apache.zookeeper that throw KeeperException
 String ZooKeeper.create(String path, byte[] data, List<ACL> acl, CreateMode createMode)
          Create a node with the given path.
static boolean ZooKeeperMain.createQuota(ZooKeeper zk, String path, long bytes, int numNodes)
          this method creates a quota node for the path
 void ZooKeeper.delete(String path, int version)
          Delete the node with the given path.
static boolean ZooKeeperMain.delQuota(ZooKeeper zk, String path, boolean bytes, boolean numNodes)
          this method deletes quota for a node.
 Stat ZooKeeper.exists(String path, boolean watch)
          Return the stat of the node of the given path.
 Stat ZooKeeper.exists(String path, Watcher watcher)
          Return the stat of the node of the given path.
static CreateMode CreateMode.fromFlag(int flag)
          Map an integer value to a CreateMode value
 List<ACL> ZooKeeper.getACL(String path, Stat stat)
          Return the ACL and stat of the node of the given path.
 List<String> ZooKeeper.getChildren(String path, boolean watch)
          Return the list of the children of the node of the given path.
 List<String> ZooKeeper.getChildren(String path, Watcher watcher)
          Return the list of the children of the node of the given path.
 byte[] ZooKeeper.getData(String path, boolean watch, Stat stat)
          Return the data and the stat of the node of the given path.
 byte[] ZooKeeper.getData(String path, Watcher watcher, Stat stat)
          Return the data and the stat of the node of the given path.
static void ZooKeeperMain.main(String[] args)
           
 Stat ZooKeeper.setACL(String path, List<ACL> acl, int version)
          Set the ACL for the node of the given path if such a node exists and the given version matches the version of the node.
 Stat ZooKeeper.setData(String path, byte[] data, int version)
          Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is -1, it matches any node's versions).
 



Copyright © 2009 The Apache Software Foundation