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 intAPIErrorDeprecated.deprecated in 3.1.0, useKeeperException.Code.APIERRORinsteadstatic intAuthFailedDeprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILEDinsteadstatic intBadArgumentsDeprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTSinsteadstatic intBadVersionDeprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSIONinsteadstatic intConnectionLossDeprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSSinsteadstatic intDataInconsistencyDeprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCYinsteadstatic intEphemeralOnLocalSessionDeprecated.static intInvalidACLDeprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACLinsteadstatic intInvalidCallbackDeprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACKinsteadstatic intMarshallingErrorDeprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERRORinsteadstatic intNewConfigNoQuorumDeprecated.deprecated in 3.1.0, useKeeperException.Code.NEWCONFIGNOQUORUMinsteadstatic intNoAuthDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTHinsteadstatic intNoChildrenForEphemeralsDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALSinsteadstatic intNodeExistsDeprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTSinsteadstatic intNoNodeDeprecated.deprecated in 3.1.0, useKeeperException.Code.NONODEinsteadstatic intNotEmptyDeprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTYinsteadstatic intOkDeprecated.deprecated in 3.1.0, useKeeperException.Code.OKinsteadstatic intOperationTimeoutDeprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUTinsteadstatic intReconfigInProgressDeprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESSinsteadstatic intRuntimeInconsistencyDeprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCYinsteadstatic intSessionExpiredDeprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIREDinsteadstatic intSystemErrorDeprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERRORinsteadstatic intUnimplementedDeprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTEDinsteadstatic intUnknownSessionDeprecated.
-
-
-
Field Detail
-
Ok
@Deprecated static final int Ok
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OKinstead- See Also:
- Constant Field Values
-
SystemError
@Deprecated static final int SystemError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SYSTEMERRORinstead- See Also:
- Constant Field Values
-
RuntimeInconsistency
@Deprecated static final int RuntimeInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RUNTIMEINCONSISTENCYinstead- See Also:
- Constant Field Values
-
DataInconsistency
@Deprecated static final int DataInconsistency
Deprecated.deprecated in 3.1.0, useKeeperException.Code.DATAINCONSISTENCYinstead- See Also:
- Constant Field Values
-
ConnectionLoss
@Deprecated static final int ConnectionLoss
Deprecated.deprecated in 3.1.0, useKeeperException.Code.CONNECTIONLOSSinstead- See Also:
- Constant Field Values
-
MarshallingError
@Deprecated static final int MarshallingError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.MARSHALLINGERRORinstead- See Also:
- Constant Field Values
-
Unimplemented
@Deprecated static final int Unimplemented
Deprecated.deprecated in 3.1.0, useKeeperException.Code.UNIMPLEMENTEDinstead- See Also:
- Constant Field Values
-
OperationTimeout
@Deprecated static final int OperationTimeout
Deprecated.deprecated in 3.1.0, useKeeperException.Code.OPERATIONTIMEOUTinstead- See Also:
- Constant Field Values
-
BadArguments
@Deprecated static final int BadArguments
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADARGUMENTSinstead- 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.NEWCONFIGNOQUORUMinstead- See Also:
- Constant Field Values
-
ReconfigInProgress
@Deprecated static final int ReconfigInProgress
Deprecated.deprecated in 3.1.0, useKeeperException.Code.RECONFIGINPROGRESSinstead- See Also:
- Constant Field Values
-
APIError
@Deprecated static final int APIError
Deprecated.deprecated in 3.1.0, useKeeperException.Code.APIERRORinstead- See Also:
- Constant Field Values
-
NoNode
@Deprecated static final int NoNode
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NONODEinstead- See Also:
- Constant Field Values
-
NoAuth
@Deprecated static final int NoAuth
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOAUTHinstead- See Also:
- Constant Field Values
-
BadVersion
@Deprecated static final int BadVersion
Deprecated.deprecated in 3.1.0, useKeeperException.Code.BADVERSIONinstead- See Also:
- Constant Field Values
-
NoChildrenForEphemerals
@Deprecated static final int NoChildrenForEphemerals
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOCHILDRENFOREPHEMERALSinstead- See Also:
- Constant Field Values
-
NodeExists
@Deprecated static final int NodeExists
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NODEEXISTSinstead- See Also:
- Constant Field Values
-
NotEmpty
@Deprecated static final int NotEmpty
Deprecated.deprecated in 3.1.0, useKeeperException.Code.NOTEMPTYinstead- See Also:
- Constant Field Values
-
SessionExpired
@Deprecated static final int SessionExpired
Deprecated.deprecated in 3.1.0, useKeeperException.Code.SESSIONEXPIREDinstead- See Also:
- Constant Field Values
-
InvalidCallback
@Deprecated static final int InvalidCallback
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDCALLBACKinstead- See Also:
- Constant Field Values
-
InvalidACL
@Deprecated static final int InvalidACL
Deprecated.deprecated in 3.1.0, useKeeperException.Code.INVALIDACLinstead- See Also:
- Constant Field Values
-
AuthFailed
@Deprecated static final int AuthFailed
Deprecated.deprecated in 3.1.0, useKeeperException.Code.AUTHFAILEDinstead- See Also:
- Constant Field Values
-
EphemeralOnLocalSession
@Deprecated static final int EphemeralOnLocalSession
Deprecated.- See Also:
- Constant Field Values
-
-