java.lang.Object
jakarta.faces.context.ExceptionHandlerFactory
org.omnifaces.exceptionhandler.ExceptionSuppressorFactory
- All Implemented Interfaces:
FacesWrapper<ExceptionHandlerFactory>
This exception handler factory needs to be registered as follows in
faces-config.xml to get the
ExceptionSuppressor to run:
<factory>
<exception-handler-factory>
org.omnifaces.exceptionhandler.ExceptionSuppressorFactory
</exception-handler-factory>
</factory>
- Since:
- 3.9
- Author:
- Lenny Primak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new view expired exception handler factory around the given wrapped factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new instance ofExceptionSuppressorwhich wraps the original exception handler.Methods inherited from class jakarta.faces.context.ExceptionHandlerFactory
getWrapped
-
Constructor Details
-
ExceptionSuppressorFactory
Construct a new view expired exception handler factory around the given wrapped factory.- Parameters:
wrapped- The wrapped factory.
-
-
Method Details
-
getExceptionHandler
Returns a new instance ofExceptionSuppressorwhich wraps the original exception handler.- Specified by:
getExceptionHandlerin classExceptionHandlerFactory
-