net.sourceforge.stripes.exception
Class DefaultExceptionHandler.HandlerProxy

java.lang.Object
  extended by net.sourceforge.stripes.exception.DefaultExceptionHandler.HandlerProxy
Enclosing class:
DefaultExceptionHandler

protected static class DefaultExceptionHandler.HandlerProxy
extends Object

Inner class that ties a class and method together an invokable object.

Since:
Stripes 1.3
Author:
Tim Fennell

Constructor Summary
DefaultExceptionHandler.HandlerProxy(Object handler, Method handlerMethod)
          Constructs a new HandlerProxy that will tie together the instance and method used.
 
Method Summary
 void handle(Throwable t, HttpServletRequest req, HttpServletResponse res)
          Invokes the handler and executes the resolution if one is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionHandler.HandlerProxy

public DefaultExceptionHandler.HandlerProxy(Object handler,
                                            Method handlerMethod)
Constructs a new HandlerProxy that will tie together the instance and method used.

Method Detail

handle

public void handle(Throwable t,
                   HttpServletRequest req,
                   HttpServletResponse res)
            throws Exception
Invokes the handler and executes the resolution if one is returned.

Throws:
Exception


? Copyright 2005-2006, Stripes Development Team.