Re: How to show any type of exception in feedbackpanel or in popup window

2010-08-25 Thread nino martinez wael
you could catch them in the request cycle? 2010/8/25 arunarapole arunakumm...@gmail.com Hi I have a Exception called Violation of UNIQUE KEY constraint 'UQ__usr__FE76F85348BAC3E5'. Cannot insert duplicate key in object abc table above Exception i have to display in same page

Re: How to show any type of exception in feedbackpanel or in popup window

2010-08-25 Thread Peter Ertl
put that around the code in your page that causes the exception: try { databaseMethodThatThrows(); } catch(DatabaseException x) { error(e.getMessage); } Am 25.08.2010 um 22:46 schrieb nino martinez wael: you could catch them in the request cycle? 2010/8/25 arunarapole