public class ExceptionSuppressorFactory extends ExceptionHandlerFactory
faces-config.xml to get the
ExceptionSuppressor to run:
<factory>
<exception-handler-factory>
org.omnifaces.exceptionhandler.ExceptionSuppressorFactory
</exception-handler-factory>
</factory>
ExceptionSuppressor| Constructor and Description |
|---|
ExceptionSuppressorFactory(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
ExceptionSuppressor which wraps the original exception handler. |
getWrappedpublic ExceptionSuppressorFactory(ExceptionHandlerFactory wrapped)
wrapped - The wrapped factory.public ExceptionHandler getExceptionHandler()
ExceptionSuppressor which wraps the original exception handler.getExceptionHandler in class ExceptionHandlerFactoryCopyright © 2012–2021 OmniFaces. All rights reserved.