- java.lang.Object
-
- jakarta.faces.context.ExceptionHandlerFactory
-
- org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory
-
- All Implemented Interfaces:
FacesWrapper<ExceptionHandlerFactory>
public class FullAjaxExceptionHandlerFactory extends ExceptionHandlerFactory
This exception handler factory needs to be registered as follows infaces-config.xmlto get theFullAjaxExceptionHandlerto run:<factory> <exception-handler-factory> org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory </exception-handler-factory> </factory>- Author:
- Bauke Scholtz
- See Also:
FullAjaxExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description FullAjaxExceptionHandlerFactory(ExceptionHandlerFactory wrapped)Construct a new full ajax exception handler factory around the given wrapped factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionHandlergetExceptionHandler()Returns a new instance ofFullAjaxExceptionHandlerwhich wraps the original exception handler.-
Methods inherited from class jakarta.faces.context.ExceptionHandlerFactory
getWrapped
-
-
-
-
Constructor Detail
-
FullAjaxExceptionHandlerFactory
public FullAjaxExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
Construct a new full ajax exception handler factory around the given wrapped factory.- Parameters:
wrapped- The wrapped factory.
-
-
Method Detail
-
getExceptionHandler
public ExceptionHandler getExceptionHandler()
Returns a new instance ofFullAjaxExceptionHandlerwhich wraps the original exception handler.- Specified by:
getExceptionHandlerin classExceptionHandlerFactory
-
-