org.apache.velocity.app.event
Interface MethodExceptionEventHandler

All Superinterfaces:
EventHandler
All 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.

Method Summary
 java.lang.Object methodException(java.lang.Class claz, java.lang.String method, java.lang.Exception e)
           
 

Method Detail

methodException

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


Copyright © 2003 Apache Software Foundation. All Rights Reserved.