public final class Error extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Calendar API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
Error |
clone() |
String |
getDomain()
Domain, or broad category, of the error.
|
String |
getReason()
Specific reason for the error.
|
Error |
set(String fieldName,
Object value) |
Error |
setDomain(String domain)
Domain, or broad category, of the error.
|
Error |
setReason(String reason)
Specific reason for the error.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getDomain()
null for nonepublic Error setDomain(String domain)
domain - domain or null for nonepublic String getReason()
null for nonepublic Error setReason(String reason)
reason - reason or null for nonepublic Error set(String fieldName, Object value)
set in class GenericJsonpublic Error clone()
clone in class GenericJson