Package com.sun.faces.context
Class ExceptionHandlerFactoryImpl
java.lang.Object
jakarta.faces.context.ExceptionHandlerFactory
com.sun.faces.context.ExceptionHandlerFactoryImpl
- All Implemented Interfaces:
FacesWrapper<ExceptionHandlerFactory>
Default ExceptionHandlerFactory implementation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate and return a A newExceptionHandler
instance.Methods inherited from class jakarta.faces.context.ExceptionHandlerFactory
getWrapped
-
Constructor Details
-
ExceptionHandlerFactoryImpl
public ExceptionHandlerFactoryImpl()
-
-
Method Details
-
getExceptionHandler
Description copied from class:ExceptionHandlerFactory
Create and return a A new
ExceptionHandler
instance. The implementation must return anExceptionHandler
instance suitable for the environment. For example, in some cases it may be desirable for anExceptionHandler
to write error information to the response instead of throwing exceptions as in the case of Ajax applications.- Specified by:
getExceptionHandler
in classExceptionHandlerFactory
- Returns:
- newly created
ExceptionHandler
. - See Also:
-