public class Error extends Object implements Formattable
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.Code |
| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
Error.Code |
getCode() |
String |
getCountryCode() |
String |
getMessage() |
String |
getUrl() |
void |
setCode(Error.Code code) |
void |
setCountryCode(String countryCode) |
void |
setMessage(String message) |
void |
setUrl(String url) |
Map<String,String> |
toMap()
Map a Token instance to its Java's Map representation.
|
String |
toString() |
String |
toXML()
Map a Token instance to its XML representation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoJSONpublic String getCountryCode()
public void setCountryCode(String countryCode)
public String getMessage()
public void setMessage(String message)
public String getUrl()
public Error.Code getCode()
public void setCode(Error.Code code)
public void setUrl(String url)
public String toXML()
toXML in interface Formattablepublic Map<String,String> toMap()
toMap in interface FormattableCopyright © 2019. All rights reserved.