public class Error extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="status" type="{http://www.w3.org/2001/XMLSchema}integer"/> <element ref="{}timestamp"/> <element ref="{}error-code"/> <element ref="{}message"/> <element ref="{}request-id"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode |
protected String |
message |
protected String |
requestId |
protected Long |
status |
protected Long |
timestamp |
Constructor and Description |
---|
Error() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Gets the value of the errorCode property.
|
String |
getMessage()
Gets the value of the message property.
|
String |
getRequestId()
Gets the value of the requestId property.
|
Long |
getStatus()
Gets the value of the status property.
|
Long |
getTimestamp()
Gets the value of the timestamp property.
|
void |
setErrorCode(String value)
Sets the value of the errorCode property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setRequestId(String value)
Sets the value of the requestId property.
|
void |
setStatus(Long value)
Sets the value of the status property.
|
void |
setTimestamp(Long value)
Sets the value of the timestamp property.
|
protected Long status
protected Long timestamp
protected String errorCode
protected String message
protected String requestId
public Long getStatus()
String
public void setStatus(Long value)
value
- allowed object is
String
public Long getTimestamp()
String
public void setTimestamp(Long value)
value
- allowed object is
String
public String getErrorCode()
String
public void setErrorCode(String value)
value
- allowed object is
String
public String getMessage()
String
public void setMessage(String value)
value
- allowed object is
String
public String getRequestId()
String
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.