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