Thank you for that but I also need to be able to display the original
exception being thrown, so this method did not work for me.

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Marc-Andre Houle
Sent: Wednesday, January 24, 2007 10:02 AM
To: [email protected]
Subject: Re: [Wicket-user] Custom exception page

 

There is always the classic : 
 getApplicationSettings ().setInternalErrorPage
(MyCustomErrorPage.class);

But that will not give you the exception thrown.

On 1/24/07, Apaar Trivedi <[EMAIL PROTECTED]> wrote:

Hi all, I am trying to make a custom exception page.

I have created a class which overrides the onRuntimeException method in
RequestCycle and wicket does not seem to be using.  Do I need to tell it
to use this class, somehow?  Is there anything else I can do?  Basically

I need a custom error page which can display the exception being thrown.

Thanks

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT 
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Wicket-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/wicket-user

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to