Runtime exceptions are caught in pages.xml file. Is it possible to append own 
message specified in pages.xml to the exception message?

Say for exception thrown: 

org.hibernate.id.IdentifierGenerationException: ids for this class must be 
manually assigned before calling save(): au.edu.tisc.entity.ApplicationMessage


  | pages.xml
  | ...
  | <exception class="javax.persistence.PersistenceException">
  |   <end-conversation/>    
  |   <redirect view-id="/error.xhtml">
  |     <message>Database operation failed, please retry...</message>
  |    </redirect>
  | </exception>
  | ...
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099638#4099638

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099638
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to