Module org.omnifaces
Package org.omnifaces.exceptionhandler
package org.omnifaces.exceptionhandler
-
ClassDescriptionThe
ExceptionSuppressorwill suppress all exceptions which are an instance of the types as listed in context parameter "org.omnifaces.EXCEPTION_TYPES_TO_SUPPRESS" and refresh the current page by redirecting to the current URL with query string.This exception handler factory needs to be registered as follows infaces-config.xmlto get theExceptionSuppressorto run:TheFacesMessageExceptionHandlerwill add every exception as a global FATAL faces message.This exception handler factory needs to be registered as follows infaces-config.xmlto get theFacesMessageExceptionHandlerto run:TheFullAjaxExceptionHandlerwill transparently handle exceptions during ajax requests exactly the same way as exceptions during synchronous (non-ajax) requests.This exception handler factory needs to be registered as follows infaces-config.xmlto get theFullAjaxExceptionHandlerto run:TheViewExpiredExceptionHandlerwill suppress anyViewExpiredExceptionand refresh the current page by redirecting to the current URL with query string.This exception handler factory needs to be registered as follows infaces-config.xmlto get theViewExpiredExceptionHandlerto run: