jAER project on SourceForge

net.sf.jaer.hardwareinterface
Class HardwareInterfaceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.jaer.hardwareinterface.HardwareInterfaceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BlankDeviceException

public class HardwareInterfaceException
extends java.lang.Exception

An exception in the hardware interface is signaled with this exception.

Author:
tobi
See Also:
Serialized Form

Constructor Summary
HardwareInterfaceException()
          Creates a new instance of USBAEMonException
HardwareInterfaceException(java.lang.String s)
           
 
Method Summary
static void addExceptionListener(ExceptionListener l)
          Listeners can be added for exceptions - e.g.
static void clearException()
          This static method sends a null message to all ExceptionListeners to signify that the exception condition is gone
static void removeExceptionListener(ExceptionListener l)
          Removes exception listener
 
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

HardwareInterfaceException

public HardwareInterfaceException()
Creates a new instance of USBAEMonException


HardwareInterfaceException

public HardwareInterfaceException(java.lang.String s)
Method Detail

addExceptionListener

public static void addExceptionListener(ExceptionListener l)
Listeners can be added for exceptions - e.g. GUI elements that show status

Parameters:
l - the listener

removeExceptionListener

public static void removeExceptionListener(ExceptionListener l)
Removes exception listener

Parameters:
l - the listener

clearException

public static void clearException()
This static method sends a null message to all ExceptionListeners to signify that the exception condition is gone


jAER project on SourceForge