Package org.forgerock.opendj.config
Enum DefinitionDecodingException.Reason
- java.lang.Object
-
- java.lang.Enum<DefinitionDecodingException.Reason>
-
- org.forgerock.opendj.config.DefinitionDecodingException.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<DefinitionDecodingException.Reason>
- Enclosing class:
- DefinitionDecodingException
public static enum DefinitionDecodingException.Reason extends Enum<DefinitionDecodingException.Reason>
An enumeration defining the reasons why the definition could not be resolved.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_TYPE_INFORMATION
The managed object could be found but its type resolved to an abstract managed object definition.NO_TYPE_INFORMATION
The managed object could be found but did not contain any type information (eg missing object classes in LDAP).WRONG_TYPE_INFORMATION
The managed object could be found but did not contain the expected type information (eg incorrect object classes in LDAP).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefinitionDecodingException.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefinitionDecodingException.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSTRACT_TYPE_INFORMATION
public static final DefinitionDecodingException.Reason ABSTRACT_TYPE_INFORMATION
The managed object could be found but its type resolved to an abstract managed object definition.
-
NO_TYPE_INFORMATION
public static final DefinitionDecodingException.Reason NO_TYPE_INFORMATION
The managed object could be found but did not contain any type information (eg missing object classes in LDAP).
-
WRONG_TYPE_INFORMATION
public static final DefinitionDecodingException.Reason WRONG_TYPE_INFORMATION
The managed object could be found but did not contain the expected type information (eg incorrect object classes in LDAP).
-
-
Method Detail
-
values
public static DefinitionDecodingException.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefinitionDecodingException.Reason c : DefinitionDecodingException.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefinitionDecodingException.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-