Daniel Rall wrote:
>
> [EMAIL PROTECTED] writes:
>
> > ...
> > Mon Mar 26 14:28:04 PST 2001 [error] Method parse threw exception for reference
>$generator in template om/Control.vm at [41,9]
>
> It would be helpful if the InvokationException indicated *why* the
> exception was thrown. I haven't looked closely enough to see if this
> is easily possible...
Like a .wav file or something, so you can listen to an explination? :)
The MethodInvocationException contains :
1) the original exception thrown by your method so you can dig it out
and look at it.
2) the method name that threw it
3) the reference used in the template to access the method
and the log contains the template and line/col where it occurred.
What else would be good to have?
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/