MethodExceptionEventHandler (Velocity 1.4 API)
Keywords: org.apache.velocity.app.event.MethodExceptionEventHandler interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.12.1 2004/03/03 23:22:53 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

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 Apache Software Foundation. All Rights Reserved.