public class FullAjaxExceptionHandlerFactory extends ExceptionHandlerFactory
faces-config.xml
to get the
FullAjaxExceptionHandler
to run:
<factory> <exception-handler-factory> org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory </exception-handler-factory> </factory>
FullAjaxExceptionHandler
Constructor and Description |
---|
FullAjaxExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
Construct a new full ajax exception handler factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
getExceptionHandler()
Returns a new instance of
FullAjaxExceptionHandler which wraps the original exception handler. |
getWrapped
public FullAjaxExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
wrapped
- The wrapped factory.public ExceptionHandler getExceptionHandler()
FullAjaxExceptionHandler
which wraps the original exception handler.getExceptionHandler
in class ExceptionHandlerFactory
Copyright © 2012–2022 OmniFaces. All rights reserved.