Package org.forgerock.opendj.ldap
Enum Class ResultCode.Enum
- All Implemented Interfaces:
Serializable
,Comparable<ResultCode.Enum>
,java.lang.constant.Constable
- Enclosing class:
- ResultCode
Contains equivalent values for the ResultCode values.
This allows easily using ResultCode values with switch statements.
ResultCode itself is not an enum because result codes are extensible,
hence the UNKNOWN
enum value.
Extensions can define new result codes, such as the cancel request related result codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed for unknown search scopes. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultCode.Enum
Returns the enum constant of this class with the specified name.static ResultCode.Enum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
- See Also:
-
SUCCESS
- See Also:
-
OPERATIONS_ERROR
- See Also:
-
PROTOCOL_ERROR
- See Also:
-
TIME_LIMIT_EXCEEDED
- See Also:
-
SIZE_LIMIT_EXCEEDED
- See Also:
-
COMPARE_FALSE
- See Also:
-
COMPARE_TRUE
- See Also:
-
AUTH_METHOD_NOT_SUPPORTED
- See Also:
-
STRONG_AUTH_REQUIRED
- See Also:
-
REFERRAL
- See Also:
-
ADMIN_LIMIT_EXCEEDED
- See Also:
-
UNAVAILABLE_CRITICAL_EXTENSION
-
CONFIDENTIALITY_REQUIRED
- See Also:
-
SASL_BIND_IN_PROGRESS
- See Also:
-
NO_SUCH_ATTRIBUTE
- See Also:
-
UNDEFINED_ATTRIBUTE_TYPE
- See Also:
-
INAPPROPRIATE_MATCHING
- See Also:
-
CONSTRAINT_VIOLATION
- See Also:
-
ATTRIBUTE_OR_VALUE_EXISTS
- See Also:
-
INVALID_ATTRIBUTE_SYNTAX
- See Also:
-
NO_SUCH_OBJECT
- See Also:
-
ALIAS_PROBLEM
- See Also:
-
INVALID_DN_SYNTAX
- See Also:
-
ALIAS_DEREFERENCING_PROBLEM
- See Also:
-
INAPPROPRIATE_AUTHENTICATION
- See Also:
-
INVALID_CREDENTIALS
- See Also:
-
INSUFFICIENT_ACCESS_RIGHTS
- See Also:
-
BUSY
- See Also:
-
UNAVAILABLE
- See Also:
-
UNWILLING_TO_PERFORM
- See Also:
-
LOOP_DETECT
- See Also:
-
SORT_CONTROL_MISSING
- See Also:
-
OFFSET_RANGE_ERROR
- See Also:
-
NAMING_VIOLATION
- See Also:
-
OBJECTCLASS_VIOLATION
- See Also:
-
NOT_ALLOWED_ON_NONLEAF
- See Also:
-
NOT_ALLOWED_ON_RDN
- See Also:
-
ENTRY_ALREADY_EXISTS
- See Also:
-
OBJECTCLASS_MODS_PROHIBITED
- See Also:
-
AFFECTS_MULTIPLE_DSAS
- See Also:
-
VIRTUAL_LIST_VIEW_ERROR
- See Also:
-
OTHER
- See Also:
-
CLIENT_SIDE_SERVER_DOWN
- See Also:
-
CLIENT_SIDE_LOCAL_ERROR
- See Also:
-
CLIENT_SIDE_ENCODING_ERROR
- See Also:
-
CLIENT_SIDE_DECODING_ERROR
- See Also:
-
CLIENT_SIDE_TIMEOUT
- See Also:
-
CLIENT_SIDE_AUTH_UNKNOWN
- See Also:
-
CLIENT_SIDE_FILTER_ERROR
- See Also:
-
CLIENT_SIDE_USER_CANCELLED
- See Also:
-
CLIENT_SIDE_PARAM_ERROR
- See Also:
-
CLIENT_SIDE_NO_MEMORY
- See Also:
-
CLIENT_SIDE_CONNECT_ERROR
- See Also:
-
CLIENT_SIDE_NOT_SUPPORTED
- See Also:
-
CLIENT_SIDE_CONTROL_NOT_FOUND
- See Also:
-
CLIENT_SIDE_NO_RESULTS_RETURNED
-
CLIENT_SIDE_UNEXPECTED_RESULTS_RETURNED
-
CLIENT_SIDE_CLIENT_LOOP
- See Also:
-
CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED
-
CANCELLED
- See Also:
-
NO_SUCH_OPERATION
- See Also:
-
TOO_LATE
- See Also:
-
CANNOT_CANCEL
- See Also:
-
ASSERTION_FAILED
- See Also:
-
AUTHORIZATION_DENIED
- See Also:
-
NO_OPERATION
- See Also:
-
UNKNOWN
Used for unknown search scopes.
-
-
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
-