I am using codeplex NVelocity library on .net and i want to catch an error when I execute Evalute method on VelocityEngine instance and one of the parameter in template text was not found.
How can I obtain this?
I find IInvalidReferenceEventHandler interface in NVelocity.App.Event namespace but I dont’t find any information how to use it. Any help will be appreciated.
I’ve found the solution.
I’ve made EventHandler class:
Then I use it in the code below: