org.apache.directory.shared.dsmlv2.reponse
Enum ErrorResponse.ErrorResponseType
java.lang.Object
java.lang.Enum<ErrorResponse.ErrorResponseType>
org.apache.directory.shared.dsmlv2.reponse.ErrorResponse.ErrorResponseType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ErrorResponse.ErrorResponseType>
- Enclosing class:
- ErrorResponse
public static enum ErrorResponse.ErrorResponseType
- extends java.lang.Enum<ErrorResponse.ErrorResponseType>
This enum represents the different types of error response
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
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 |
NOT_ATTEMPTED
public static final ErrorResponse.ErrorResponseType NOT_ATTEMPTED
COULD_NOT_CONNECT
public static final ErrorResponse.ErrorResponseType COULD_NOT_CONNECT
CONNECTION_CLOSED
public static final ErrorResponse.ErrorResponseType CONNECTION_CLOSED
MALFORMED_REQUEST
public static final ErrorResponse.ErrorResponseType MALFORMED_REQUEST
GATEWAY_INTERNAL_ERROR
public static final ErrorResponse.ErrorResponseType GATEWAY_INTERNAL_ERROR
AUTHENTICATION_FAILED
public static final ErrorResponse.ErrorResponseType AUTHENTICATION_FAILED
UNRESOLVABLE_URI
public static final ErrorResponse.ErrorResponseType UNRESOLVABLE_URI
OTHER
public static final ErrorResponse.ErrorResponseType OTHER
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(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
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.