6.2 Google Error Codes

Exception

Cause

Status Level

Java.io.IOException

Interrupted I/O operations

Retry

com.google.gdata.util.ServiceException

An error occurred in Google while processing a request

Error

com.google.gdata.util.AuthenticationException

This is a connection exception received from Google after the driver has successfully authenticated.

Retry

com.google.gdata.util.InvalidEntryException

The Google Entry ID requested is invalid

Error

com.google.gdata.util.ResourceNotFoundException

This exception indicates that a query failed to retrieve a valid object

If the exception is a result of a query the status level is Success, since a query that doesn't resolve to an object is not an error. If the exception is a result of requesting a Google object based on an Association value the Status Level will be Error.

com.google.gdata.util.ServiceException with an error description of "Internal Server Error"

The Google APIs encountered an undefined server error when processing a request.

Retry

Java.net.MalformedURLException

Indicates a malformed URL was received

Error

com.google.gdata.data.AppsForYourDomainException

An exception thrown by AppsForYourDomainService, which is the service which implements Google Provisioning.

The Status Level is dependent on the error code associated with the exception.

Invalid Domain Edition

The Google domain doesn’t support the client library

Fatal

Unknown Error

The provisioning API is reporting an unknown error condition. This is routinely a transient condition.

Retry

Entity does not exist

An exception occurred looking up or querying for an object.

Success if the operation was a query operation. Error if the operation was a lookup based on an association value.

Entity Exists

An attempt to create an object in Google has failed because an object of that name already exists.

Error

All other Apps ForYourDomainException Error Codes

 

Error