|
|||||||||
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.GpioException
public class GpioException
GPIO specific exception. Used through all the GPIO API.
Field Summary | |
---|---|
static int |
READ_COUNTER_ERROR
Failed to read counter |
static int |
RESET_COUNTER_ERROR
Failed to reset counter |
Fields inherited from class com.motorola.oem.OEMException |
---|
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR |
Constructor Summary | |
---|---|
GpioException(java.lang.Exception e)
Constructs object from Exception properties. |
|
GpioException(int errorCode)
Constructs object with error code. |
|
GpioException(int errorCode,
java.lang.Exception e)
Constructs object from Exception properties. |
|
GpioException(int errorCode,
java.lang.String errorMessage)
Constructs object with error message. |
|
GpioException(java.lang.String errorMessage)
Constructs object with 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 RESET_COUNTER_ERROR
public static final int READ_COUNTER_ERROR
Constructor Detail |
---|
public GpioException(int errorCode, java.lang.String errorMessage)
errorMessage
- error message to be used.errorCode
- error code of specific exception type from Gpio API list.public GpioException(int errorCode, java.lang.Exception e)
e
- the exception to use as an error message reference.errorCode
- error code of specific exception type from Gpio API list.public GpioException(int errorCode)
errorCode
- error code of specific exception type from Gpio API list.public GpioException(java.lang.String errorMessage)
errorMessage
- error message to be used.public GpioException(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 |