Module org.omnifaces
Package org.omnifaces.exceptionhandler
Class ViewExpiredExceptionHandlerFactory
java.lang.Object
jakarta.faces.context.ExceptionHandlerFactory
org.omnifaces.exceptionhandler.ViewExpiredExceptionHandlerFactory
- All Implemented Interfaces:
FacesWrapper<ExceptionHandlerFactory>
This exception handler factory needs to be registered as follows in
faces-config.xml to get the
ViewExpiredExceptionHandler to run:
<factory>
<exception-handler-factory>
org.omnifaces.exceptionhandler.ViewExpiredExceptionHandlerFactory
</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 ofViewExpiredExceptionHandlerwhich wraps the original exception handler.Methods inherited from class jakarta.faces.context.ExceptionHandlerFactory
getWrapped
-
Constructor Details
-
ViewExpiredExceptionHandlerFactory
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 ofViewExpiredExceptionHandlerwhich wraps the original exception handler.- Specified by:
getExceptionHandlerin classExceptionHandlerFactory
-