UMDS Java API  6.14
com.latencybusters.umds.UMDS.ERRCODE Class Reference

Static Public Attributes

static final int NO_ERROR = 0
 
static final int CAPABILITY_MISMATCH = 1
 
static final int AUTHENTICATION_FAILURE = 2
 
static final int MISSING_CALLBACK = 3
 
static final int UNKNOWN_PROPERTY = 4
 
static final int SERVER_OPERATION_FAILED = 5
 

Detailed Description

The ERRCODE class collects the standard error codes to be used with the UMDS client API. All client error codes shall be 32 bits (int). Errcodes generated from the server will have the SERVER_STATUS bit set to differentiate if the error is from the client or server side. Applications can simply cast to an int to get the real error and mask against SERVER_STATUS to determine of the error came from the server if they care.

See also
UMDSServerConnection::getError()

Member Data Documentation

final int com.latencybusters.umds.UMDS.ERRCODE.AUTHENTICATION_FAILURE = 2
static

Authentication failure occurred with the server. Check the server/client configuration

final int com.latencybusters.umds.UMDS.ERRCODE.CAPABILITY_MISMATCH = 1
static

A capability mismatch between the server and client exists. Check server/client configuration

final int com.latencybusters.umds.UMDS.ERRCODE.MISSING_CALLBACK = 3
static

The UMDS API has not been used correctly. The API did not provide a callback that is required. This indicates a change in the application is required.

final int com.latencybusters.umds.UMDS.ERRCODE.NO_ERROR = 0
static

No error has occurred

final int com.latencybusters.umds.UMDS.ERRCODE.SERVER_OPERATION_FAILED = 5
static

An operation at the server failed and returned a indication to the client with the reason (status)

final int com.latencybusters.umds.UMDS.ERRCODE.UNKNOWN_PROPERTY = 4
static

The UMDS API has not been used correctly. The application attempted to set or get a property that is not recognised. This indicates a change in the application is required.


The documentation for this class was generated from the following file: