ExceptionHandlerFactory is a factory object that creates (if needed)
and returns a new ExceptionHandler instance.
There must be one ExceptionHandlerFactory instance per web application that is utilizing Jakarta Server
Faces. This instance can be acquired, in a portable manner, by calling:
ExceptionHandlerFactory factory = (ExceptionHandlerFactory)
FactoryFinder.getFactory(FactoryFinder.EXCEPTION_HANDLER_FACTORY);
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private ExceptionHandlerFactory |
| Access | Constructor and Description |
|---|---|
| public | ExceptionHandlerFactory()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | ExceptionHandlerFactory(ExceptionHandlerFactory
The implementation being wrapped. wrapped)If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ExceptionHandler | Returns: newly createdExceptionHandler.
Create and return a A new |
| public ExceptionHandlerFactory | getWrapped()
Implements jakarta. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. |
| wrapped | back to summary |
|---|---|
| private ExceptionHandlerFactory wrapped | |
| ExceptionHandlerFactory | back to summary |
|---|---|
| public ExceptionHandlerFactory()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| ExceptionHandlerFactory | back to summary |
|---|---|
| public ExceptionHandlerFactory(ExceptionHandlerFactory wrapped)
If this factory has been decorated, the implementation doing the decorating should push the implementation being
wrapped to this constructor. The
| |
| getExceptionHandler | back to summary |
|---|---|
| public abstract ExceptionHandler getExceptionHandler()
Create and return a A new
| |
| getWrapped | back to summary |
|---|---|
| public ExceptionHandlerFactory getWrapped() Implements jakarta. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
| |