Package com.isode.dsapi.config
Enum Class ShadowAgreement.ShadowError
- All Implemented Interfaces:
Serializable
,Comparable<ShadowAgreement.ShadowError>
,Constable
- Enclosing class:
- ShadowAgreement
The codes here correspond to those defined in
apps/d3/shadow/ShadowError.h
Note: Probably this should be generated automatically but it's not clear
how to make swig generate enum types.
- Since:
- 15.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ShadowAgreement.ShadowError
getShadowError
(int errorCode) Determine which ShadowError enum corresponds to a given error codestatic ShadowAgreement.ShadowError
Returns the enum constant of this class with the specified name.static ShadowAgreement.ShadowError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
noError
-
unknownError
-
rejectedRemoteAuth
-
myAuthRejected
-
internalError
-
totalUpdateForbidden
-
bilateralAgreementNeeded
-
noSuitableCredentials
-
unableToGenerateStrongBind
-
invalidAgreementID
-
inactiveAgreement
-
invalidInformationReceived
-
unsupportedStrategy
-
missedPrevious
-
fullUpdateRequired
-
unwillingToPerform
-
unsuitableTiming
-
updateAlreadyReceived
-
invalidSequencing
-
insufficientResources
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getShadowError
Determine which ShadowError enum corresponds to a given error code- Parameters:
errorCode
- the error code- Returns:
- the corresponding ShadowError, or null if there is no matching ShadowError for code
-