|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.motorola.oem.OEMException com.motorola.oem.websession.WebSessionException
public class WebSessionException
WebSession API specific exception.When caught, the specific error code value can be
OEMException.getErrorCode()
Field Summary | |
---|---|
static int |
ALREADY_EXIST_ERROR
WS already exists error code |
static int |
AMOUNT_OUT_OF_BOUNDS_ERROR
WS amount exceeds maximum |
static int |
BROWSER_SETTINGS_FAILED_ERROR
WS browser settings update error code |
static int |
CANNOT_BE_REMOVED_ERROR
WS is predefined error code |
static int |
INDEX_NOT_FOUND_ERROR
WS index not found error code |
static int |
INDEX_OUT_OF_BOUNDS_ERROR
WS Index out of bound error code |
static int |
NAME_NOT_FOUND_ERROR
WS name not found error code |
static int |
PLATFORM_NOT_READY_ERROR
WS (Web Session) platform is not ready error code |
static int |
READ_ONLY_ERROR
WS is read only error code |
static int |
SIM_CARD_NOT_READY_ERROR
SIM card is not ready error code |
Fields inherited from class com.motorola.oem.OEMException |
---|
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR |
Constructor Summary | |
---|---|
WebSessionException(java.lang.Exception e)
Constructs an object with the specified Exception's properties. |
|
WebSessionException(int errorCode)
Constructs an object with the specified error code. |
|
WebSessionException(int errorCode,
java.lang.Exception e)
Constructs an object with the specified error code and Exception's properties. |
|
WebSessionException(int errorCode,
java.lang.String errorMessage)
Constructs an object with the specified errorcode and error message. |
|
WebSessionException(java.lang.String errorMessage)
Constructs an object with the specified error message. |
Method Summary |
---|
Methods inherited from class com.motorola.oem.OEMException |
---|
getErrorCode |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PLATFORM_NOT_READY_ERROR
public static final int INDEX_OUT_OF_BOUNDS_ERROR
public static final int AMOUNT_OUT_OF_BOUNDS_ERROR
public static final int NAME_NOT_FOUND_ERROR
public static final int INDEX_NOT_FOUND_ERROR
public static final int ALREADY_EXIST_ERROR
public static final int READ_ONLY_ERROR
public static final int SIM_CARD_NOT_READY_ERROR
public static final int BROWSER_SETTINGS_FAILED_ERROR
public static final int CANNOT_BE_REMOVED_ERROR
Constructor Detail |
---|
public WebSessionException(int errorCode, java.lang.String errorMessage)
errorMessage
- error message to be used.errorCode
- error code of specific a exception type from WebSession API list.public WebSessionException(int errorCode, java.lang.Exception e)
e
- The exception to use as an error message referenceerrorCode
- Error code of a specific exception type from WebSession API list.public WebSessionException(int errorCode)
errorCode
- Error code of a specific exception type from WebSession API list.public WebSessionException(java.lang.String errorMessage)
errorMessage
- Error message to be used.public WebSessionException(java.lang.Exception e)
e
- the exception to use as an error message reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |