cTry Standard properties - 6.5

Logs and errors - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Logs and errors components (Mediation)
Data Quality and Preparation > Third-party systems > Logs and errors components (Mediation)
Design and Development > Third-party systems > Logs and errors components (Mediation)
EnrichPlatform
Talend Studio

These properties are used to configure cTry running in the Standard Job framework.

The Standard cTry component belongs to the Exception Handling family.

Usage

Usage rule

cTry is used as a middle component in a Route.

Connections

Try: Select this link to isolate the part of your Route that is likely to throw an exception or exceptions.

Note:

When the Try link is followed by multiple components, a compile error may occur showing "The method doCatch() is undefined for the type ExpressionNode". In this case, use a cJavaDSLProcessor component to end the Try block with the code .endDoTry() as a workaround.

Catch: Select this link to catch any exception thrown in the Route.

In the Exceptions field, type in an expression to filter the type of exception to catch.

Note:

This link can be used only when a Try link is present.

Finally: Select link to execute final instructions regardless of any exceptions that may occur in the Route.

Note:

This link can be used only when a Try link is present.

Route: Select this link to route all the messages from the sender to the next endpoint.

Limitation

 n/a