You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Jason Weinstein <JW...@SeeBeyond.com> on 2002/10/14 21:31:42 UTC
Is there a way to install an exception listener?
Is there a way to install an exception listener on the parsing of files.
I am using velocity to generate java and jsp code. Each template does some
work and calls on other templates to do the rest.
Occasionally, a macro will fail do to an untested branch in the code
and it becomes very difficult to find the error as it is usually a ways down
the line before the jsp generated code is compiled.
I would like to be able to tell if a macro/or template bombs do to bad input
during parsing so that I can check the templates at design time and not at
deploy time.
Any ideas appreciated.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>