|
|||||||||
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.hapi.A2dException
public class A2dException
A2d specific exception. Used through all the A2D API.
Field Summary | |
---|---|
static int |
QUERY_CHANNEL_ERROR
Failed to query a channel |
static int |
SET_CHANNEL_ERROR
Failed to set a channel to work on a specific mode |
static int |
UNIT_DISABLED_ERROR
A2d java API is disabled |
Fields inherited from class com.motorola.oem.OEMException |
---|
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR |
Constructor Summary | |
---|---|
A2dException(java.lang.Exception e)
Constructs an object with the specified Exception's properties. |
|
A2dException(int errorCode)
Constructs an object with the specified error code. |
|
A2dException(int errorCode,
java.lang.Exception e)
Constructs an object with the specified error code and with the specified Exception's properties. |
|
A2dException(int errorCode,
java.lang.String errorMessage)
Constructs an object with the specified error code and error message. |
|
A2dException(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 SET_CHANNEL_ERROR
public static final int QUERY_CHANNEL_ERROR
public static final int UNIT_DISABLED_ERROR
Constructor Detail |
---|
public A2dException(java.lang.String errorMessage)
errorMessage
- Error message to be usedpublic A2dException(java.lang.Exception e)
e
- The exception to use as an error message referencepublic A2dException(int errorCode, java.lang.String errorMessage)
errorMessage
- Error message to be usederrorCode
- Error code of the specific exception type from the Gpio API listpublic A2dException(int errorCode, java.lang.Exception e)
e
- The exception to use as an error message referenceerrorCode
- Error code of specific exception type from the Gpio API listpublic A2dException(int errorCode)
errorCode
- Error code of a specific exception type from the Gpio API list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |