public class Error extends Object
{
"error": {
"errors": [
{
"domain": "global",
"reason": "internalError",
"message": "Internal Error"
}
],
"code": 500,
"message": "Internal Error"
}
}
Date: 1/16/11| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode()
code is the HTTP status code of this response.
|
List<ErrorDetails> |
getErrors() |
String |
getMessage() |
void |
setCode(Integer code) |
void |
setErrors(List<ErrorDetails> errors) |
void |
setMessage(String message) |
String |
toString() |
public List<ErrorDetails> getErrors()
public void setErrors(List<ErrorDetails> errors)
public Integer getCode()
public void setCode(Integer code)
public String getMessage()
public void setMessage(String message)
Copyright © 2011-2013. All Rights Reserved.