public class ErrorResponse extends Object
Java class for ErrorResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ErrorResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="detail" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> <attribute name="type"> <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> </attribute> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
ErrorResponse.Detail
Java class for anonymous complex type.
|
static class |
ErrorResponse.ErrorType
Java class for null.
|
Modifier and Type | Field and Description |
---|---|
protected ErrorResponse.Detail |
detail |
protected String |
message |
protected String |
requestID |
protected ErrorResponse.ErrorType |
type |
Constructor and Description |
---|
ErrorResponse() |
Modifier and Type | Method and Description |
---|---|
ErrorResponse.Detail |
getDetail()
Gets the value of the detail property.
|
String |
getMessage()
Gets the value of the message property.
|
String |
getRequestID()
Gets the value of the requestID property.
|
ErrorResponse.ErrorType |
getType()
Gets the value of the type property.
|
void |
setDetail(ErrorResponse.Detail value)
Sets the value of the detail property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setRequestID(String value)
Sets the value of the requestID property.
|
void |
setType(ErrorResponse.ErrorType value)
Sets the value of the type property.
|
protected String message
protected ErrorResponse.Detail detail
protected String requestID
protected ErrorResponse.ErrorType type
public String getMessage()
String
public void setMessage(String value)
value
- allowed object is
String
public ErrorResponse.Detail getDetail()
ErrorResponse.Detail
public void setDetail(ErrorResponse.Detail value)
value
- allowed object is
ErrorResponse.Detail
public String getRequestID()
String
public void setRequestID(String value)
value
- allowed object is
String
public ErrorResponse.ErrorType getType()
ErrorResponse.ErrorType
public void setType(ErrorResponse.ErrorType value)
value
- allowed object is
ErrorResponse.ErrorType
Copyright © 2018 Open eHealth Foundation. All rights reserved.