org.fosstrak.hal
Class HardwareException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fosstrak.hal.HardwareAbstractionException
              extended by org.fosstrak.hal.HardwareException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OutOfBoundsException, ReadPointNotFoundException, UnsupportedOperationException

public class HardwareException
extends HardwareAbstractionException

This exception signals a reader hardware problem and is thrown by several of the HAL controller methods.

Author:
Matthias Lampe, lampe@acm.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fosstrak.hal.HardwareAbstractionException
log
 
Constructor Summary
HardwareException()
          Constructor.
HardwareException(java.lang.String message)
          Constructor specifying a message.
HardwareException(java.lang.String message, java.lang.Throwable cause)
          Constructor specifying a message and a cause.
HardwareException(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
 

Constructor Detail

HardwareException

public HardwareException()
Constructor.


HardwareException

public HardwareException(java.lang.String message)
Constructor specifying a message.

Parameters:
message - The message

HardwareException

public HardwareException(java.lang.Throwable cause)
Constructor using a cause.

Parameters:
cause - The cause

HardwareException

public HardwareException(java.lang.String message,
                         java.lang.Throwable cause)
Constructor specifying a message and a cause.

Parameters:
message - The message
cause - The cause


Copyright © 2008. All Rights Reserved.