|
|||||||||
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.OTAException
public class OTAException
OTA API's specific exception.When caught, the specific error code value can be
OEMException.getErrorCode()
Field Summary | |
---|---|
static int |
ALREADY_EXIST_ERROR
OTA already exists error code |
static int |
NULL_POINTER_ERROR
OTA null pointer error code |
Fields inherited from class com.motorola.oem.OEMException |
---|
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR |
Constructor Summary | |
---|---|
OTAException(java.lang.Exception e)
Constructs an object with the specified Exception's properties. |
|
OTAException(int errorCode)
Constructs an object with the specified error code. |
|
OTAException(int errorCode,
java.lang.Exception e)
Constructs an object with the specified Exception's properties and error code. |
|
OTAException(int errorCode,
java.lang.String errorMessage)
Constructs an object with the specified error code and error message. |
|
OTAException(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 ALREADY_EXIST_ERROR
public static final int NULL_POINTER_ERROR
Constructor Detail |
---|
public OTAException(int errorCode, java.lang.String errorMessage)
errorMessage
- error message to be usederrorCode
- error code of a specific exception type from OTA API listpublic OTAException(int errorCode, java.lang.Exception e)
e
- the exception to use as an error message referenceerrorCode
- error code of specific exception type from OTA API listpublic OTAException(int errorCode)
errorCode
- error code of a specific exception type from OTA API list.public OTAException(java.lang.String errorMessage)
errorMessage
- error message to be used.public OTAException(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 |