Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Method and Description |
---|---|
KeeperException.Code |
KeeperException.code()
Read the error Code for this exception
|
static KeeperException.Code |
KeeperException.Code.get(int code)
Get the Code value for a particular integer error code
|
static KeeperException.Code |
KeeperException.Code.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeeperException.Code[] |
KeeperException.Code.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
KeeperException(KeeperException.Code code) |
Copyright © 2016 The Apache Software Foundation