javax.servlet.jsp.tagext
Interface TryCatchFinally

All Known Implementing Classes:
BundleTag, BundleTag, CatchTag, CoreForEachTag, CoreForTokensTag, FmtTimeZoneTag, FmtTimeZoneTag, LoopTagSupport, SqlTransactionTag, SqlTransactionTag

public interface TryCatchFinally

Mixin interface to handle exceptions thrown in a tag.


Method Summary
 void doCatch(java.lang.Throwable t)
          Invoked if any exception is thrown while evaluating the tag.
 void doFinally()
          Invoked after doEndTag even with an exception.
 

Method Detail

doCatch

void doCatch(java.lang.Throwable t)
             throws java.lang.Throwable
Invoked if any exception is thrown while evaluating the tag.

Parameters:
t - the thrown exception
Throws:
java.lang.Throwable

doFinally

void doFinally()
Invoked after doEndTag even with an exception.