Calendar API v3 (revision 30)
com.google.api.services.calendar.model
Class Error
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.Error
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public final class Error
- extends GenericJson
Model definition for Error.
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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
- Author:
- Google, Inc.
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Constructor Summary |
Error()
|
Method Summary |
java.lang.String |
getDomain()
Domain, or broad category, of the error. |
java.lang.String |
getReason()
Specific reason for the error. |
Error |
setDomain(java.lang.String domain)
Domain, or broad category, of the error. |
Error |
setReason(java.lang.String reason)
Specific reason for the error. |
Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Error
public Error()
getDomain
public java.lang.String getDomain()
- Domain, or broad category, of the error.
The value returned may be
null
.
setDomain
public Error setDomain(java.lang.String domain)
- Domain, or broad category, of the error.
The value set may be
null
.
getReason
public java.lang.String getReason()
- Specific reason for the error. Some of the possible values are: - "groupTooBig" - The group of
users requested is too large for a single query. - "tooManyCalendarsRequested" - The number of
calendars requested is too large for a single query. - "notFound" - The requested resource was
not found. - "internalError" - The API service has encountered an internal error. Additional
error types may be added in the future, so clients should gracefully handle additional error
statuses not included in this list.
The value returned may be
null
.
setReason
public Error setReason(java.lang.String reason)
- Specific reason for the error. Some of the possible values are: - "groupTooBig" - The group of
users requested is too large for a single query. - "tooManyCalendarsRequested" - The number of
calendars requested is too large for a single query. - "notFound" - The requested resource was
not found. - "internalError" - The API service has encountered an internal error. Additional
error types may be added in the future, so clients should gracefully handle additional error
statuses not included in this list.
The value set may be
null
.