Package org.omnifaces.exceptionhandler
-
Class Summary Class Description ExceptionSuppressor TheExceptionSuppressor
will 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.ExceptionSuppressorFactory This exception handler factory needs to be registered as follows infaces-config.xml
to get theExceptionSuppressor
to run:FacesMessageExceptionHandler TheFacesMessageExceptionHandler
will add every exception as a global FATAL faces message.FacesMessageExceptionHandlerFactory This exception handler factory needs to be registered as follows infaces-config.xml
to get theFacesMessageExceptionHandler
to run:FullAjaxExceptionHandler TheFullAjaxExceptionHandler
will transparently handle exceptions during ajax requests exactly the same way as exceptions during synchronous (non-ajax) requests.FullAjaxExceptionHandlerFactory This exception handler factory needs to be registered as follows infaces-config.xml
to get theFullAjaxExceptionHandler
to run:ViewExpiredExceptionHandler TheViewExpiredExceptionHandler
will suppress anyViewExpiredException
and refresh the current page by redirecting to the current URL with query string.ViewExpiredExceptionHandlerFactory This exception handler factory needs to be registered as follows infaces-config.xml
to get theViewExpiredExceptionHandler
to run: -
Enum Summary Enum Description FullAjaxExceptionHandler.LogReason