org.apache.directory.api.dsmlv2.reponse
Enum ErrorResponse.ErrorResponseType

java.lang.Object
  extended by java.lang.Enum<ErrorResponse.ErrorResponseType>
      extended by org.apache.directory.api.dsmlv2.reponse.ErrorResponse.ErrorResponseType
All Implemented Interfaces:
Serializable, Comparable<ErrorResponse.ErrorResponseType>
Enclosing class:
ErrorResponse

public static enum ErrorResponse.ErrorResponseType
extends Enum<ErrorResponse.ErrorResponseType>

This enum represents the different types of error response

Author:
Apache Directory Project

Enum Constant Summary
AUTHENTICATION_FAILED
          Authentication failed error response type.
CONNECTION_CLOSED
          error response type.
COULD_NOT_CONNECT
          Could not connect error response type.
GATEWAY_INTERNAL_ERROR
          Gateway internal error error response type.
MALFORMED_REQUEST
          Malformed request error response type.
NOT_ATTEMPTED
          Not attempted error response type.
OTHER
          Other error response type.
UNRESOLVABLE_URI
          Unresolveable URI error response type.
 
Method Summary
static ErrorResponse.ErrorResponseType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorResponse.ErrorResponseType[] 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

NOT_ATTEMPTED

public static final ErrorResponse.ErrorResponseType NOT_ATTEMPTED
Not attempted error response type.


COULD_NOT_CONNECT

public static final ErrorResponse.ErrorResponseType COULD_NOT_CONNECT
Could not connect error response type.


CONNECTION_CLOSED

public static final ErrorResponse.ErrorResponseType CONNECTION_CLOSED
error response type.


MALFORMED_REQUEST

public static final ErrorResponse.ErrorResponseType MALFORMED_REQUEST
Malformed request error response type.


GATEWAY_INTERNAL_ERROR

public static final ErrorResponse.ErrorResponseType GATEWAY_INTERNAL_ERROR
Gateway internal error error response type.


AUTHENTICATION_FAILED

public static final ErrorResponse.ErrorResponseType AUTHENTICATION_FAILED
Authentication failed error response type.


UNRESOLVABLE_URI

public static final ErrorResponse.ErrorResponseType UNRESOLVABLE_URI
Unresolveable URI error response type.


OTHER

public static final ErrorResponse.ErrorResponseType OTHER
Other error response type.

Method Detail

values

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

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

valueOf

public static ErrorResponse.ErrorResponseType 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 name
NullPointerException - if the argument is null


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.