|
|||||||||
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.osc.OSCException
public class OSCException
Field Summary | |
---|---|
static int |
GET_PROPERTY_KEY_NOT_FOUND_ERROR
Attempt to use OSC.getProperty(java.lang.String) with an invalid key |
static int |
GET_PROPERTY_VALUE_OF_KEY_CANT_BE_RETRIEVE_ERROR
Failed to retrieve a value of a key using OSC.getProperty(java.lang.String) |
static int |
SET_PROPERTY_FAIL_SET_VALUE_ERROR
Failed to set the value using OSC.getProperty(java.lang.String) |
static int |
SET_PROPERTY_KEY_NOT_FOUND_ERROR
Attempt to use OSC.setProperty(java.lang.String, java.lang.String) with an invalid key |
Fields inherited from class com.motorola.oem.OEMException |
---|
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR |
Constructor Summary | |
---|---|
OSCException(java.lang.Exception e)
Constructs an object with the specified Exception's properties. |
|
OSCException(int errorCode)
Constructs an object with the specified error code. |
|
OSCException(int errorCode,
java.lang.Exception e)
Constructs an object with the specified error code and Exception's properties. |
|
OSCException(int errorCode,
java.lang.String errorMessage)
Constructs an object with the specified error code and error message. |
|
OSCException(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 GET_PROPERTY_KEY_NOT_FOUND_ERROR
OSC.getProperty(java.lang.String)
with an invalid key
public static final int GET_PROPERTY_VALUE_OF_KEY_CANT_BE_RETRIEVE_ERROR
OSC.getProperty(java.lang.String)
public static final int SET_PROPERTY_KEY_NOT_FOUND_ERROR
OSC.setProperty(java.lang.String, java.lang.String)
with an invalid key
public static final int SET_PROPERTY_FAIL_SET_VALUE_ERROR
OSC.getProperty(java.lang.String)
Constructor Detail |
---|
public OSCException(int errorCode, java.lang.String errorMessage)
errorMessage
- error message to be used.errorCode
- error code of specific exception type from OSC API list.public OSCException(int errorCode, java.lang.Exception e)
e
- The exception to use as an error message referenceerrorCode
- Error code of a specific exception type from OSC API listpublic OSCException(int errorCode)
errorCode
- Error code of a specific exception type from OSC API listpublic OSCException(java.lang.String errorMessage)
errorMessage
- Error message to be used.public OSCException(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 |