Enum ErrorResponse.ErrorType
- java.lang.Object
-
- java.lang.Enum<ErrorResponse.ErrorType>
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.ErrorResponse.ErrorType
-
- All Implemented Interfaces:
Serializable
,Comparable<ErrorResponse.ErrorType>
- Enclosing class:
- ErrorResponse
public static enum ErrorResponse.ErrorType extends Enum<ErrorResponse.ErrorType>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="notAttempted"/> <enumeration value="couldNotConnect"/> <enumeration value="connectionClosed"/> <enumeration value="malformedRequest"/> <enumeration value="gatewayInternalError"/> <enumeration value="authenticationFailed"/> <enumeration value="unresolvableURI"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_FAILED
CONNECTION_CLOSED
COULD_NOT_CONNECT
GATEWAY_INTERNAL_ERROR
MALFORMED_REQUEST
NOT_ATTEMPTED
OTHER
UNRESOLVABLE_URI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorResponse.ErrorType
fromValue(String v)
String
value()
static ErrorResponse.ErrorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ErrorResponse.ErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_ATTEMPTED
public static final ErrorResponse.ErrorType NOT_ATTEMPTED
-
COULD_NOT_CONNECT
public static final ErrorResponse.ErrorType COULD_NOT_CONNECT
-
CONNECTION_CLOSED
public static final ErrorResponse.ErrorType CONNECTION_CLOSED
-
MALFORMED_REQUEST
public static final ErrorResponse.ErrorType MALFORMED_REQUEST
-
GATEWAY_INTERNAL_ERROR
public static final ErrorResponse.ErrorType GATEWAY_INTERNAL_ERROR
-
AUTHENTICATION_FAILED
public static final ErrorResponse.ErrorType AUTHENTICATION_FAILED
-
UNRESOLVABLE_URI
public static final ErrorResponse.ErrorType UNRESOLVABLE_URI
-
OTHER
public static final ErrorResponse.ErrorType OTHER
-
-
Method Detail
-
values
public static ErrorResponse.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 (ErrorResponse.ErrorType c : ErrorResponse.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 ErrorResponse.ErrorType 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
-
value
public String value()
-
fromValue
public static ErrorResponse.ErrorType fromValue(String v)
-
-