beautypg.com

Google Apps Security and Compliance Services Web Services Application Programming Interface Guide, Early Access Version 1.5 User Manual

Page 25

background image

22

Message Security and Compliance Application Programming Interface Guide RELEASE EA version 1.5

Recommended Solution

-- Stop the application. This is an extremely rare

exception. If this occurs during the Early Access program, send the error in email
to the Early Access Program’s support, [email protected] to
open a case via email.

InvalidValueException -- The application was sent a value for a well-known field
type, and the value was bogus. It was not valid. This is a rare exception for
strongly typed languages such as C# and Java. Usually IDE tool environments for
strongly typed languages will catch invalid values during development. For loosely
typed languages, this exception could occur.

Recommended Solution

-- Stop the application. If this occurs for C# or Java

applications during the Early Access program, send the error in email to the Early
Access Program’s support, [email protected] to open a case via
email.

MalformedKeyException -- This exception is thrown if the API license key is not
constructed properly. There could be several reasons:

The length of the key is incorrect

The char values are not lower case alphanumeric

The key is mangled for some reason

There is a space at end of key or in the middle of the key

If you cut and pasted a new API license key from mail, the mail client could
have changed the char values.

Recommended Solution

-- Stop the application. If this occurs during the Early

Access program, send the error in email to the Early Access Program’s support,
[email protected] to open a case via email.

MissingElementException -- A required element is not defined. Most IDE tool
environments catch these exceptions during the development cycle. This is a rare
exception except when a NULL value is involved.

Recommended Solution

-- Stop the application, and fix the code.

NoSuchKeyException -- This exception is thrown if the key is constructed
properly but is not valid. Examples of some reasons are:

The API license key is not in the database

The API license key is old, and no longer active.

Recommended Solution

-- Stop the application. If this occurs during the Early

Access program, contact the Early Access Program’s support,
[email protected] to open a case via email.

UnknownInternalException -- This is an internal email security service problem
which is not recoverable and is not expected.

Recommended Solution

-- Stop the application. If this occurs during the Early

Access program, contact the Early Access Program’s support,
[email protected] to open a case via email.