Hi all,
I had a simple implementation of IExceptionResponseStrategy which helped me
to do this
protected IRequestCycleProcessor newRequestCycleProcessor()
{
return new DefaultWebRequestCycleProcessor()
{
protected IExceptionResponseStrategy
newExceptionResponseStrategy()
{
return new MyExceptionStrategy();
}
};
}
and throw new RestartResponseException(new MyErrorPage(e,page)); from
MyExceptionStrategy and log the exception in the error page.
Now i am in the process of migrating my existing application which run on
1.2.6 to 1.3 and i see IExceptionResponseStrategy has gone missing.
I would like to pass on the exception to my error page and log it as i was
doing before.
What is the best way to do it ?
I can see that i can override public void respond(RuntimeException e,
RequestCycle requestCycle) and do it, is the right direction to take ?
Regards
Dipu