In Wicket 1.4 we used our custom RequestCycle and the onRuntimeException
method to add/change the exception handling. How do we change the exception
handling in Wicket 1.5?

The Migration Guide says:

Exception handling

In Wicket 1.4 it was needed to extend
org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
Wicket 1.5 gives even better control, by overriding
org.apache.wicket.Application.newExceptionMapper() it is possible to change
even the default processing of error pages.
For information on how the request cycle handles exceptions see RequestCycle
in Wicket 1.5 for more information

But with Wicket 1.5.1 it is not possible to override the
newExceptionMapper() method. What is the preffered way now?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-ExceptionHandling-tp3877300p3877300.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to