Module org.omnifaces
Package org.omnifaces.exceptionhandler
Class FacesMessageExceptionHandlerFactory
- java.lang.Object
- 
- jakarta.faces.context.ExceptionHandlerFactory
- 
- org.omnifaces.exceptionhandler.FacesMessageExceptionHandlerFactory
 
 
- 
- All Implemented Interfaces:
- FacesWrapper<ExceptionHandlerFactory>
 
 public class FacesMessageExceptionHandlerFactory extends ExceptionHandlerFactory This exception handler factory needs to be registered as follows infaces-config.xmlto get theFacesMessageExceptionHandlerto run:<factory> <exception-handler-factory> org.omnifaces.exceptionhandler.FacesMessageExceptionHandlerFactory </exception-handler-factory> </factory>- Since:
- 1.8
- Author:
- Bauke Scholtz
- See Also:
- FacesMessageExceptionHandler
 
- 
- 
Constructor SummaryConstructors Constructor Description FacesMessageExceptionHandlerFactory(ExceptionHandlerFactory wrapped)Construct a new full ajax exception handler factory around the given wrapped factory.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionHandlergetExceptionHandler()Returns a new instance ofFacesMessageExceptionHandlerwhich wraps the original exception handler.- 
Methods inherited from class jakarta.faces.context.ExceptionHandlerFactorygetWrapped
 
- 
 
- 
- 
- 
Constructor Detail- 
FacesMessageExceptionHandlerFactorypublic FacesMessageExceptionHandlerFactory(ExceptionHandlerFactory wrapped) Construct a new full ajax exception handler factory around the given wrapped factory.- Parameters:
- wrapped- The wrapped factory.
 
 
- 
 - 
Method Detail- 
getExceptionHandlerpublic ExceptionHandler getExceptionHandler() Returns a new instance ofFacesMessageExceptionHandlerwhich wraps the original exception handler.- Specified by:
- getExceptionHandlerin class- ExceptionHandlerFactory
 
 
- 
 
-