This content has been marked as final.
Show 2 replies
-
1. Re: how to catch NonUniqueObjectException and throw a message back to user
boy18nj May 6, 2010 4:55 AM (in response to sburgula1)you need to catch this exception NonUniqueObjectException inside your pages.xml
GO inside this pages.xml and see how other exceptions have been defined. -
2. Re: how to catch NonUniqueObjectException and throw a message back to user
sburgula1 May 7, 2010 10:55 PM (in response to sburgula1)Thanks for the quick response. But this exception is that of hibernate not of Seam. Dont you define only Seam related exceptions in pages.xml. This exception I am getting when I am adding a object into a table, and comparing the Academic year exists already in the table or not.