|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.fosstrak.hal.HardwareAbstractionException
public class HardwareAbstractionException
This exception is the root exception for all exeption that
are thrown in the hardware abstraction layer.
This exception is thrown by HAL controller methods of a objects within the hardware abstraction layer if the
attempt to execute a command failed. The idea is to propagate just a single
kind of error to the layers above. This simplifies the error handling for
other layers.
The error itself can be specified in more detail by using the following codes:
serviceCode: Indicates the kind of service, which caused the exception
readerProtocolErrorCode The RP conform error code..
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
The logger. |
| Constructor Summary | |
|---|---|
HardwareAbstractionException()
Constructor. |
|
HardwareAbstractionException(java.lang.String message)
Constructor specifying a message. |
|
HardwareAbstractionException(java.lang.String message,
java.lang.Throwable cause)
Constructor specifying a message and a cause. |
|
HardwareAbstractionException(java.lang.Throwable cause)
Constructor using a cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public HardwareAbstractionException()
public HardwareAbstractionException(java.lang.String message)
message - The messagepublic HardwareAbstractionException(java.lang.Throwable cause)
cause - The cause
public HardwareAbstractionException(java.lang.String message,
java.lang.Throwable cause)
message - The messagecause - The cause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||