ExceptionHandler
PrimeFaces provides a powerful ExceptionHandler out of the box with following features:
- featuring support for AJAX and non-AJAX requests
- ability to use error-page configuration in web.xml
- an EL extension called #{pfExceptionHandler} to provide information about the exception
- p:ajaxExceptionHandler component to customize AJAX exception handling on the current view