Name

ExceptionFilter — catch exceptions when handling request

Description

Catches any exceptions thrown during handling of a request. This allows friendlier error pages to be displayed than would otherwise be displayed by the container. Caught exceptions are logged with a log level of WARNING and the exchange is diverted to the specified exception handler.

Usage

{
     "name": string,
     "type": "ExceptionFilter",
     "config": {
         "handler": string,
     }
}

Properties

"handler": string, required

The name of the handler heap object to dispatch to in the event of caught exceptions.

Javadoc

org.forgerock.openig.filter.ExceptionFilter