GLLib: License.Error Interface Reference

GLLib

License.Error Interface Reference

License error codes. More...

List of all members.

Static Public Attributes

static final byte ERROR_BAD_RESPONSE = 40
 The server response has incorrect format.
static final byte ERROR_CONNECTION = -2
 No connection to server.
static final int ERROR_INIT = -100
 Initialisation value.
static final byte ERROR_INVALID_GGI = 27
 Configuration error: Most likely an invalid GGI.
static final byte ERROR_NO_CLIENT_ID = 26
 Programming error on emulator: no phone id.
static final byte ERROR_NO_PHONE_NUMBER = 25
 There is no phone number in the register request.
static final byte ERROR_NO_UUID = 1
 The uuid is missing from the request.
static final byte ERROR_NONE = 0
 The request finished succesfully.
static final byte ERROR_PENDING = -1
 Result is pending.

Detailed Description

License error codes.

This interface contains defines for error codes.
It is not necessary that the application treat all these error codes, but they are very usefull for debugging.


Member Data Documentation

final byte ERROR_BAD_RESPONSE = 40 [static]

The server response has incorrect format.

Make sure the request is correct. If it is a leaderboard request, make sure the number of supplemental data needed match the requested leaderboard

final byte ERROR_CONNECTION = -2 [static]

No connection to server.

Either there is no network available or the server cannot be contacted for some reason.

final int ERROR_INIT = -100 [static]

Initialisation value.

Getting this error means that actually no requests have been yet made since the MIDlet started so there is no last error.

final byte ERROR_INVALID_GGI = 27 [static]

Configuration error: Most likely an invalid GGI.

final byte ERROR_NO_CLIENT_ID = 26 [static]

Programming error on emulator: no phone id.

final byte ERROR_NO_PHONE_NUMBER = 25 [static]

There is no phone number in the register request.

final byte ERROR_NO_UUID = 1 [static]

The uuid is missing from the request.

final byte ERROR_NONE = 0 [static]

The request finished succesfully.

final byte ERROR_PENDING = -1 [static]

Result is pending.

 Transaction with server is ongoing.


Generated on Tue Sep 23 23:05:32 2008 for GLLib by  doxygen 1.5.2