Current template and line number

Jaime Garza <[email protected]> Mon, 28 Jul 2014 13:32:11 -0700 (PDT)
Newsgroups gmane.comp.web.freemarker.devel
Message-ID <b2ad2b0e-db11-451f-a178-6b0e9787a539@default>
Hi,

I have a group of methods implementing TemplateMethodModelEx. In them I need to raise my exception that will can display the template name, the line and the column numbers. I know that these methods are called from MethodCall. But I have no context to either the current template name or the location of the element.

At a minimum I would like to report the template name.

Is that possible at all?

This is for 2.3.19

Thanks

Jaime

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk