Package org.apache.zookeeper
Interface KeeperException.CodeDeprecated
-
- All Known Implementing Classes:
KeeperException.Code
- Enclosing class:
- KeeperException
@Deprecated @Public public static interface KeeperException.CodeDeprecated
Deprecated.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
Fields Modifier and Type Field Description static int
APIError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.APIERROR
insteadstatic int
AuthFailed
Deprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILED
insteadstatic int
BadArguments
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTS
insteadstatic int
BadVersion
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSION
insteadstatic int
ConnectionLoss
Deprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSS
insteadstatic int
DataInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCY
insteadstatic int
EphemeralOnLocalSession
Deprecated.static int
InvalidACL
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACL
insteadstatic int
InvalidCallback
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACK
insteadstatic int
MarshallingError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERROR
insteadstatic int
NewConfigNoQuorum
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NEWCONFIGNOQUORUM
insteadstatic int
NoAuth
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTH
insteadstatic int
NoChildrenForEphemerals
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALS
insteadstatic int
NodeExists
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTS
insteadstatic int
NoNode
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NONODE
insteadstatic int
NotEmpty
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTY
insteadstatic int
Ok
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OK
insteadstatic int
OperationTimeout
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUT
insteadstatic int
ReconfigInProgress
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESS
insteadstatic int
RuntimeInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCY
insteadstatic int
SessionExpired
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIRED
insteadstatic int
SystemError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERROR
insteadstatic int
Unimplemented
Deprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTED
insteadstatic int
UnknownSession
Deprecated.
-
-
-
Field Detail
-
Ok
@Deprecated static final int Ok
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OK
instead- See Also:
- Constant Field Values
-
SystemError
@Deprecated static final int SystemError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERROR
instead- See Also:
- Constant Field Values
-
RuntimeInconsistency
@Deprecated static final int RuntimeInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCY
instead- See Also:
- Constant Field Values
-
DataInconsistency
@Deprecated static final int DataInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCY
instead- See Also:
- Constant Field Values
-
ConnectionLoss
@Deprecated static final int ConnectionLoss
Deprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSS
instead- See Also:
- Constant Field Values
-
MarshallingError
@Deprecated static final int MarshallingError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERROR
instead- See Also:
- Constant Field Values
-
Unimplemented
@Deprecated static final int Unimplemented
Deprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTED
instead- See Also:
- Constant Field Values
-
OperationTimeout
@Deprecated static final int OperationTimeout
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUT
instead- See Also:
- Constant Field Values
-
BadArguments
@Deprecated static final int BadArguments
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTS
instead- See Also:
- Constant Field Values
-
UnknownSession
@Deprecated static final int UnknownSession
Deprecated.- See Also:
- Constant Field Values
-
NewConfigNoQuorum
@Deprecated static final int NewConfigNoQuorum
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NEWCONFIGNOQUORUM
instead- See Also:
- Constant Field Values
-
ReconfigInProgress
@Deprecated static final int ReconfigInProgress
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESS
instead- See Also:
- Constant Field Values
-
APIError
@Deprecated static final int APIError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.APIERROR
instead- See Also:
- Constant Field Values
-
NoNode
@Deprecated static final int NoNode
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NONODE
instead- See Also:
- Constant Field Values
-
NoAuth
@Deprecated static final int NoAuth
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTH
instead- See Also:
- Constant Field Values
-
BadVersion
@Deprecated static final int BadVersion
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSION
instead- See Also:
- Constant Field Values
-
NoChildrenForEphemerals
@Deprecated static final int NoChildrenForEphemerals
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALS
instead- See Also:
- Constant Field Values
-
NodeExists
@Deprecated static final int NodeExists
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTS
instead- See Also:
- Constant Field Values
-
NotEmpty
@Deprecated static final int NotEmpty
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTY
instead- See Also:
- Constant Field Values
-
SessionExpired
@Deprecated static final int SessionExpired
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIRED
instead- See Also:
- Constant Field Values
-
InvalidCallback
@Deprecated static final int InvalidCallback
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACK
instead- See Also:
- Constant Field Values
-
InvalidACL
@Deprecated static final int InvalidACL
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACL
instead- See Also:
- Constant Field Values
-
AuthFailed
@Deprecated static final int AuthFailed
Deprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILED
instead- See Also:
- Constant Field Values
-
EphemeralOnLocalSession
@Deprecated static final int EphemeralOnLocalSession
Deprecated.- See Also:
- Constant Field Values
-
-