Catch connection settings - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29
Available in...

Cloud API Services Platform

Cloud Data Fabric

Data Fabric

Data Services Platform

ESB

MDM Platform

Real-Time Big Data Platform

About this task

You can set a Catch link to catch the exception thrown by the try link of the cTry component.

Procedure

  1. Simply select the Catch link of your Route to display the related Basic settings view of the Components tab.
  2. In the Exceptions field, type in the name of the exception class that is likely to occur in the try routing. If you type in java.lang.Exception.class, mother of all exceptions, any exception will be caught. But you can try to fine-tune the exception generated by specifying a more precise exception class.
    Basic settings view.

Results

When executing your Route, if an exception occurs in routing following a try link, it will be caught by the catch link corresponding better to the exception. For more information, see Row connection.