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 and Description |
|---|
AUTHENTICATION_FAILED |
CONNECTION_CLOSED |
COULD_NOT_CONNECT |
GATEWAY_INTERNAL_ERROR |
MALFORMED_REQUEST |
NOT_ATTEMPTED |
OTHER |
UNRESOLVABLE_URI |
| Modifier and Type | Method and 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.
|
public static final ErrorResponse.ErrorType NOT_ATTEMPTED
public static final ErrorResponse.ErrorType COULD_NOT_CONNECT
public static final ErrorResponse.ErrorType CONNECTION_CLOSED
public static final ErrorResponse.ErrorType MALFORMED_REQUEST
public static final ErrorResponse.ErrorType GATEWAY_INTERNAL_ERROR
public static final ErrorResponse.ErrorType AUTHENTICATION_FAILED
public static final ErrorResponse.ErrorType UNRESOLVABLE_URI
public static final ErrorResponse.ErrorType OTHER
public static ErrorResponse.ErrorType[] values()
for (ErrorResponse.ErrorType c : ErrorResponse.ErrorType.values()) System.out.println(c);
public static ErrorResponse.ErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ErrorResponse.ErrorType fromValue(String v)
Copyright © 2018 Open eHealth Foundation. All rights reserved.