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 2001/05/20 19:48:56 geirm Exp $

Author:
Geir Magnusson Jr.

Nested Class Summary

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 © 2003 Apache Software Foundation. All Rights Reserved.