public void Render(TemplateContext Context)
{
Context.RenderingTemplate = this;
Exception ProducedException = null;
try
{
this.LocalRender(Context);
}
catch (FinalizeRenderException)
{
}
catch (Exception Exception)
{
ProducedException = Exception;
}
if (ProducedException != null)
{
Context.Output.WriteLine(ProducedException.ToString());
//throw (ProducedException);
}
}
#endif