you need to catch this exception NonUniqueObjectException inside your pages.xml
GO inside this pages.xml and see how other exceptions have been defined.
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.