# Exception Nodes

# Catch

Catch node is used for capturing the exceptions from the flow. Catch node provides two options.

All nodes

If the catch node is configured with all nodes option selected then all the exception that is triggered at any point in the flow is captured.

Selected nodes

If the catch node is s configured with Selected nodesoption selected then only those exceptions triggered from the selected node in the flow is captured.

Once the exception is captured the entire message payload is available at the out put of the catch node which can be then used for appropriate actions to handle the exception.

TIP

Always provide proper naming for the nodes used in flow in order to avoid the confusion when using the selected nodes option.

Example :

How to catch an exception and trigger the action to handle all the exception

How to catch and handle an exception from a specific node