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