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(javax.faces.context.ExceptionHandlerFactory wrapped)
Construct a new full ajax exception handler factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
javax.faces.context.ExceptionHandler |
getExceptionHandler()
Returns a new instance of
FacesMessageExceptionHandler which wraps the original exception handler. |
getWrapped
public FacesMessageExceptionHandlerFactory(javax.faces.context.ExceptionHandlerFactory wrapped)
wrapped
- The wrapped factory.public javax.faces.context.ExceptionHandler getExceptionHandler()
FacesMessageExceptionHandler
which wraps the original exception handler.getExceptionHandler
in class javax.faces.context.ExceptionHandlerFactory
Copyright © 2012–2014 OmniFaces. All rights reserved.