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 intDeprecated.static final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILEDinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTSinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSIONinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSSinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCYinsteadstatic final intDeprecated.static final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACLinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACKinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERRORinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NEWCONFIGNOQUORUMinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTHinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALSinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTSinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NONODEinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTYinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.OKinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUTinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESSinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCYinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIREDinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERRORinsteadstatic final intDeprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTEDinsteadstatic final intDeprecated.
-
Field Details
-
Ok
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OKinstead- See Also:
-
SystemError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERRORinstead- See Also:
-
RuntimeInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCYinstead- See Also:
-
DataInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCYinstead- See Also:
-
ConnectionLoss
Deprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSSinstead- See Also:
-
MarshallingError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERRORinstead- See Also:
-
Unimplemented
Deprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTEDinstead- See Also:
-
OperationTimeout
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUTinstead- See Also:
-
BadArguments
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTSinstead- See Also:
-
UnknownSession
Deprecated.- See Also:
-
NewConfigNoQuorum
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NEWCONFIGNOQUORUMinstead- See Also:
-
ReconfigInProgress
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESSinstead- See Also:
-
APIError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.APIERRORinstead- See Also:
-
NoNode
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NONODEinstead- See Also:
-
NoAuth
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTHinstead- See Also:
-
BadVersion
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSIONinstead- See Also:
-
NoChildrenForEphemerals
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALSinstead- See Also:
-
NodeExists
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTSinstead- See Also:
-
NotEmpty
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTYinstead- See Also:
-
SessionExpired
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIREDinstead- See Also:
-
InvalidCallback
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACKinstead- See Also:
-
InvalidACL
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACLinstead- See Also:
-
AuthFailed
Deprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILEDinstead- See Also:
-
EphemeralOnLocalSession
Deprecated.- See Also:
-
KeeperException.Code.APIERRORinstead