public class ErrorInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CANNOT_GET_MESSAGE_BY_INDEX
Signaled to listener of
Messages.getMessageByIndex()
if general error occurs and message could not be retrieved. |
static int |
MISMATCHING_TOKEN_UPDATE
Signaled to listener of
ChatClient.updateToken()
if updated token does not match the original token. |
Constructor and Description |
---|
ErrorInfo(int errorCode,
java.lang.String errorText) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns unique code for given error
|
java.lang.String |
getErrorText()
Returns error message of given error
|
public static int CANNOT_GET_MESSAGE_BY_INDEX
Messages.getMessageByIndex()
if general error occurs and message could not be retrieved.public static int MISMATCHING_TOKEN_UPDATE
ChatClient.updateToken()
if updated token does not match the original token. Corrective course of action
is to shutdown and re-create ChatClient.