org.webmacro.servlet
Class HandlerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.webmacro.RethrowableException
              extended byorg.webmacro.WebMacroException
                  extended byorg.webmacro.servlet.HandlerException
All Implemented Interfaces:
java.io.Serializable

public class HandlerException
extends WebMacroException

This is an exception which a Handler can throw to indicate that it does not want to process a connection request.

See Also:
Serialized Form

Constructor Summary
HandlerException(java.lang.String reason)
          Declare a handler exception with a reason
HandlerException(java.lang.String reason, java.lang.Exception e)
           
 
Methods inherited from class org.webmacro.WebMacroException
getContextLocation, getMessage, setContextLocation
 
Methods inherited from class org.webmacro.RethrowableException
getCaught, getCause, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandlerException

public HandlerException(java.lang.String reason)
Declare a handler exception with a reason

Parameters:
reason - why the handler failed

HandlerException

public HandlerException(java.lang.String reason,
                        java.lang.Exception e)