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. |
ExceptionHandlerFactory |
getWrapped()
Returns the wrapped factory.
|
public FullAjaxExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
wrapped
- The wrapped factory.public ExceptionHandler getExceptionHandler()
FullAjaxExceptionHandler
which wraps the original exception handler.getExceptionHandler
in class ExceptionHandlerFactory
public ExceptionHandlerFactory getWrapped()
getWrapped
in interface FacesWrapper<ExceptionHandlerFactory>
getWrapped
in class ExceptionHandlerFactory