org.apache.velocity.app.event

Interface MethodExceptionEventHandler

All Superinterfaces:
EventHandler
Known Implementing Classes:
EventCartridge, EventHandlingTestCase, Test

public interface MethodExceptionEventHandler
extends EventHandler

Called when a method throws an exception. This gives the application a chance to deal with it and either return something nice, or throw. Please return what you want rendered into the output stream.

Version:
$Id: MethodExceptionEventHandler.java,v 1.1.12.1 2004/03/03 23:22:53 geirm Exp $

Author:
Geir Magnusson Jr.

Method Summary

Object
methodException(Class claz, String method, Exception e)

Method Details

methodException

public Object methodException(Class claz,
                              String method,
                              Exception e)
            throws Exception


Copyright B) 2002 Apache Software Foundation. All Rights Reserved.