public class ViewExpiredExceptionHandlerFactory extends ExceptionHandlerFactory
faces-config.xml to get the
ViewExpiredExceptionHandler to run:
<factory>
<exception-handler-factory>
org.omnifaces.exceptionhandler.ViewExpiredExceptionHandlerFactory
</exception-handler-factory>
</factory>
ViewExpiredExceptionHandler| Constructor and Description |
|---|
ViewExpiredExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
Construct a new view expired exception handler factory around the given wrapped factory.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionHandler |
getExceptionHandler()
Returns a new instance of
ViewExpiredExceptionHandler which wraps the original exception handler. |
getWrappedpublic ViewExpiredExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
wrapped - The wrapped factory.public ExceptionHandler getExceptionHandler()
ViewExpiredExceptionHandler which wraps the original exception handler.getExceptionHandler in class ExceptionHandlerFactoryCopyright © 2012–2021 OmniFaces. All rights reserved.