From: Tim Joyce [mailto:[EMAIL PROTECTED]]

> while we are talking about exceptions, you may have noticed
> that Webmacro
> has recently introduced an EvaluationExceptionHandler
> interface, allowing
> control over how exceptions that occur during template expansion are
> handled.  are there any plans to do something similar in Velocity?

I dunno.  We aren't proud.  If there is a need, we are happy to honor them
by blithely stealing their features :)

It wouldn't be that hard to do with the EventCartridge mechanism, or
something similar.

That strikes me as just another event.

But practically speaking, are you really going to want to deal with that on
an exception by exception basis? I'm a touch skeptical how much real
practical use it would get, especially since you can capture the
merge()-time exceptions, deal with them, and remerge.  That's just my
personal take...

geir


Reply via email to