In onException () I would do: return new RenderPageRequestHandler (new PageProvider (new YourInternalErrorPage (exception )));
But I agree, there must be a better solution! On Apr 17, 2016 5:21 PM, "xesj.hu" <xesj...@gmail.com> wrote: > I have taken the IRequestCycleListener method for years, > but I think the setInternalErrorPage() is better. > > Thanks a lot. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Exception-object-in-MyInternalErrorPage-tp4674299p4674301.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >