org.opends.server.admin
Enum DefinitionDecodingException.Reason

java.lang.Object
  extended by java.lang.Enum<DefinitionDecodingException.Reason>
      extended by org.opends.server.admin.DefinitionDecodingException.Reason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DefinitionDecodingException.Reason>
Enclosing class:
DefinitionDecodingException

public static enum DefinitionDecodingException.Reason
extends java.lang.Enum<DefinitionDecodingException.Reason>

An enumeration defining the reasons why the definition could not be resolved.


Enum Constant Summary
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
static DefinitionDecodingException.Reason valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null