|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public static interface KeeperException.CodeDeprecated
This interface contains the original static final int constants which have now been replaced with an enumeration in Code. Do not reference this class directly, if necessary (legacy code) continue to access the constants through Code. Note: an interface is used here due to the fact that enums cannot reference constants defined within the same enum as said constants are considered initialized _after_ the enum itself. By using an interface as a super type this allows the deprecated constants to be initialized first and referenced when constructing the enums. I didn't want to have constants declared twice. This interface should be private, but it's declared public to enable javadoc to include in the user API spec.
Field Summary | |
---|---|
static int |
APIError
Deprecated. deprecated in 3.1.0, use KeeperException.Code.APIERROR instead |
static int |
AuthFailed
Deprecated. deprecated in 3.1.0, use KeeperException.Code.AUTHFAILED instead |
static int |
BadArguments
Deprecated. deprecated in 3.1.0, use KeeperException.Code.BADARGUMENTS
instead |
static int |
BadVersion
Deprecated. deprecated in 3.1.0, use KeeperException.Code.BADVERSION instead |
static int |
ConnectionLoss
Deprecated. deprecated in 3.1.0, use KeeperException.Code.CONNECTIONLOSS
instead |
static int |
DataInconsistency
Deprecated. deprecated in 3.1.0, use KeeperException.Code.DATAINCONSISTENCY
instead |
static int |
InvalidACL
Deprecated. deprecated in 3.1.0, use KeeperException.Code.INVALIDACL instead |
static int |
InvalidCallback
Deprecated. deprecated in 3.1.0, use KeeperException.Code.INVALIDCALLBACK
instead |
static int |
MarshallingError
Deprecated. deprecated in 3.1.0, use KeeperException.Code.MARSHALLINGERROR
instead |
static int |
NoAuth
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOAUTH instead |
static int |
NoChildrenForEphemerals
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOCHILDRENFOREPHEMERALS
instead |
static int |
NodeExists
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NODEEXISTS instead |
static int |
NoNode
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NONODE instead |
static int |
NotEmpty
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOTEMPTY instead |
static int |
Ok
Deprecated. deprecated in 3.1.0, use KeeperException.Code.OK instead |
static int |
OperationTimeout
Deprecated. deprecated in 3.1.0, use KeeperException.Code.OPERATIONTIMEOUT
instead |
static int |
RuntimeInconsistency
Deprecated. deprecated in 3.1.0, use KeeperException.Code.RUNTIMEINCONSISTENCY instead |
static int |
SessionExpired
Deprecated. deprecated in 3.1.0, use KeeperException.Code.SESSIONEXPIRED instead |
static int |
SystemError
Deprecated. deprecated in 3.1.0, use KeeperException.Code.SYSTEMERROR instead |
static int |
Unimplemented
Deprecated. deprecated in 3.1.0, use KeeperException.Code.UNIMPLEMENTED
instead |
Field Detail |
---|
@Deprecated static final int Ok
KeeperException.Code.OK
instead@Deprecated static final int SystemError
KeeperException.Code.SYSTEMERROR
instead@Deprecated static final int RuntimeInconsistency
KeeperException.Code.RUNTIMEINCONSISTENCY
instead@Deprecated static final int DataInconsistency
KeeperException.Code.DATAINCONSISTENCY
instead@Deprecated static final int ConnectionLoss
KeeperException.Code.CONNECTIONLOSS
instead@Deprecated static final int MarshallingError
KeeperException.Code.MARSHALLINGERROR
instead@Deprecated static final int Unimplemented
KeeperException.Code.UNIMPLEMENTED
instead@Deprecated static final int OperationTimeout
KeeperException.Code.OPERATIONTIMEOUT
instead@Deprecated static final int BadArguments
KeeperException.Code.BADARGUMENTS
instead@Deprecated static final int APIError
KeeperException.Code.APIERROR
instead@Deprecated static final int NoNode
KeeperException.Code.NONODE
instead@Deprecated static final int NoAuth
KeeperException.Code.NOAUTH
instead@Deprecated static final int BadVersion
KeeperException.Code.BADVERSION
instead@Deprecated static final int NoChildrenForEphemerals
KeeperException.Code.NOCHILDRENFOREPHEMERALS
instead@Deprecated static final int NodeExists
KeeperException.Code.NODEEXISTS
instead@Deprecated static final int NotEmpty
KeeperException.Code.NOTEMPTY
instead@Deprecated static final int SessionExpired
KeeperException.Code.SESSIONEXPIRED
instead@Deprecated static final int InvalidCallback
KeeperException.Code.INVALIDCALLBACK
instead@Deprecated static final int InvalidACL
KeeperException.Code.INVALIDACL
instead@Deprecated static final int AuthFailed
KeeperException.Code.AUTHFAILED
instead
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |