org.opends.admin.ads
Enum ADSContextException.ErrorType

java.lang.Object
  extended by java.lang.Enum<ADSContextException.ErrorType>
      extended by org.opends.admin.ads.ADSContextException.ErrorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ADSContextException.ErrorType>
Enclosing class:
ADSContextException

public static enum ADSContextException.ErrorType
extends java.lang.Enum<ADSContextException.ErrorType>

The enumeration containing the different error types.


Enum Constant Summary
ACCESS_PERMISSION
          An access permission error.
ALREADY_REGISTERED
          The entity is already registered.
BROKEN_INSTALL
          The installation is broken.
ERROR_UNEXPECTED
          Unexpected error (potential bug).
MISSING_ADMIN_PASSWORD
          The administrator password is missing.
MISSING_ADMIN_UID
          The administration UID is missing.
MISSING_HOSTNAME
          The host name is missing.
MISSING_IPATH
          The installation path is missing.
MISSING_NAME
          The name is missing.
MISSING_PORT
          The port is missing.
NOT_YET_REGISTERED
          The entity is not yet registered.
NOVALID_HOSTNAME
          The host name is not valid.
NOVALID_IPATH
          The installation path is not valid.
NOVALID_PORT
          The port is not valid.
UNEXPECTED_ADS_BACKEND_TYPE
          There is already a backend with the name of the ADS backend but not of the expected type.
 
Method Summary
static ADSContextException.ErrorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ADSContextException.ErrorType[] 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

MISSING_HOSTNAME

public static final ADSContextException.ErrorType MISSING_HOSTNAME
The host name is missing.


NOVALID_HOSTNAME

public static final ADSContextException.ErrorType NOVALID_HOSTNAME
The host name is not valid.


MISSING_IPATH

public static final ADSContextException.ErrorType MISSING_IPATH
The installation path is missing.


NOVALID_IPATH

public static final ADSContextException.ErrorType NOVALID_IPATH
The installation path is not valid.


ACCESS_PERMISSION

public static final ADSContextException.ErrorType ACCESS_PERMISSION
An access permission error.


ALREADY_REGISTERED

public static final ADSContextException.ErrorType ALREADY_REGISTERED
The entity is already registered.


BROKEN_INSTALL

public static final ADSContextException.ErrorType BROKEN_INSTALL
The installation is broken.


NOT_YET_REGISTERED

public static final ADSContextException.ErrorType NOT_YET_REGISTERED
The entity is not yet registered.


MISSING_PORT

public static final ADSContextException.ErrorType MISSING_PORT
The port is missing.


NOVALID_PORT

public static final ADSContextException.ErrorType NOVALID_PORT
The port is not valid.


MISSING_NAME

public static final ADSContextException.ErrorType MISSING_NAME
The name is missing.


MISSING_ADMIN_UID

public static final ADSContextException.ErrorType MISSING_ADMIN_UID
The administration UID is missing.


MISSING_ADMIN_PASSWORD

public static final ADSContextException.ErrorType MISSING_ADMIN_PASSWORD
The administrator password is missing.


UNEXPECTED_ADS_BACKEND_TYPE

public static final ADSContextException.ErrorType UNEXPECTED_ADS_BACKEND_TYPE
There is already a backend with the name of the ADS backend but not of the expected type.


ERROR_UNEXPECTED

public static final ADSContextException.ErrorType ERROR_UNEXPECTED
Unexpected error (potential bug).

Method Detail

values

public static ADSContextException.ErrorType[] 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 (ADSContextException.ErrorType c : ADSContextException.ErrorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ADSContextException.ErrorType 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