Hi,
I think it's currently too hard to show a custom exception page. To do
so, I need to override Application.getRequestCycleFactory(), return my
own IRequestCycleFactory implementation, that can build my subclass of
WebRequestCycle that overrides the onRuntimeException() method.
Maybe it's easier to define a method on WebApplication:
Page onRuntimeException(Page page, RuntimeException e) {
return null;
}
And call this method from WebRequestCycle.onRuntimeException. By default
this would have the same behavior as it is implemented now, but it's
much easier to create a custom error page because I only have to
override onRuntimeException in my WebApplication subclass.
Bart.