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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionHandlergetExceptionHandler()Create and return a A newExceptionHandlerinstance.-
Methods inherited from class jakarta.faces.context.ExceptionHandlerFactory
getWrapped
-
-
-
-
Method Detail
-
getExceptionHandler
public ExceptionHandler 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()
-
-