org.placelab.spotter
Class SpotterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.placelab.spotter.SpotterException
All Implemented Interfaces:
java.io.Serializable

public class SpotterException
extends java.lang.Exception

SpotterExceptions are thrown in response to various errors that Spotters can encounter. It is meant to be subclassed to provide more specific information.

Since a Spotter may not be operating in the same thread as the rest of an application, SpotterExceptions are propagated using the SpotterListener.spotterExceptionThrown(Spotter, SpotterException) method, which can be delivered either in the background thread or by using the EventSystem if one is registered with the Spotter.

See Also:
Serialized Form

Constructor Summary
SpotterException(java.lang.String s)
           
SpotterException(java.lang.Throwable t)
           
 
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

SpotterException

public SpotterException(java.lang.String s)

SpotterException

public SpotterException(java.lang.Throwable t)