Name
Catch — Catches exceptions as part of a try, catch, finally block
Usage
The catch pattern specifies a series of steps to take when the specified exception is thrown.
The catch pattern can only occur following a try pattern. It must be followed by either a processor or an endpoint.
Properties
Table 4.1 describes the properties you can specify using the properties editor.
Table 4.1. Catch Properties
| Name | Description |
|---|---|
| Handled | Specifies an expression that determines if the exception is marked as
handled. The expression returns a boolean. If the expression evaluates to
any non-boolean value other than null it is evaluated as returning
true. |
| language | Specifies the expression language used to process the expression. |
| Inherit Error Handler | Specifies if the node should use the error handler configured for the route. |
| Exceptions | Specifies the list of exceptions caught. The button adds an entry typed in the field. The button removes the selected entry from the list. |
| Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
| Description | Specifies a text description of the bean. The description is included in the generated XML file. |
Related topics
| Expression and Predicates Languages |
| Configuring the Fuse IDE route editor in Using Fuse IDE |








