Package com.sun.faces.context
Class ExceptionHandlerFactoryImpl
java.lang.Object
jakarta.faces.context.ExceptionHandlerFactory
com.sun.faces.context.ExceptionHandlerFactoryImpl
- All Implemented Interfaces:
FacesWrapper<ExceptionHandlerFactory>
public class ExceptionHandlerFactoryImpl extends ExceptionHandlerFactory
Default ExceptionHandlerFactory implementation.
-
Constructor Summary
Constructors Constructor Description ExceptionHandlerFactoryImpl()
-
Method Summary
Modifier and Type Method Description ExceptionHandler
getExceptionHandler()
Create and return a A newExceptionHandler
instance.
-
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:
ExceptionHandlerFactory.getExceptionHandler()
-