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 ExceptionHandlergetExceptionHandler()Create and return a A newExceptionHandlerinstance.
-
Constructor Details
-
ExceptionHandlerFactoryImpl
public ExceptionHandlerFactoryImpl()
-
-
Method Details
-
getExceptionHandler
Description copied from class:ExceptionHandlerFactoryCreate and return a A new
ExceptionHandlerinstance. The implementation must return anExceptionHandlerinstance suitable for the environment. For example, in some cases it may be desirable for anExceptionHandlerto write error information to the response instead of throwing exceptions as in the case of Ajax applications.- Specified by:
getExceptionHandlerin classExceptionHandlerFactory- Returns:
- newly created
ExceptionHandler. - See Also:
ExceptionHandlerFactory.getExceptionHandler()
-