RE: Best way to set up a handler for 'Internal error'

2012-12-26 Thread Chris Colman
>hi, >add your IRequestCycleListener which onexception checks if it's the >exception you want to >log/mail ,if it's then do so. Ah! That looks like what I need! Thanks. > >On Wed, Dec 26, 2012 at 3:45 AM, Chris Colman > wrote: >> When running in production mode and an error occurs Wicket will di

Re: Best way to set up a handler for 'Internal error'

2012-12-26 Thread vineet semwal
hi, add your IRequestCycleListener which onexception checks if it's the exception you want to log/mail ,if it's then do so. On Wed, Dec 26, 2012 at 3:45 AM, Chris Colman wrote: > When running in production mode and an error occurs Wicket will display > 'Internal error/return to home page'. > > Wh

Re: Best way to set up a handler for 'Internal error'

2012-12-25 Thread Nick Pratt
Does Application getExceptionSettings().setUnexpectedExceptionDisplay( ); help? Look at DefaultExceptionMapper (which I think you can also set in Application.init() ) N On Tue, Dec 25, 2012 at 3:15 PM, Chris Colman wrote: > When running in production mode and an error occurs Wicket will di