Catch Errors (Generic Ports)

This node forwards the input from the first port if the execution was successful. If execution on the top branch failed (and a matching try node was connected before the failing node!) then the input from the second port will be forwarded and the second variable outport will contain information about the observed error.

Options

Always populate error variables
If selected, the variables will also be generated when the node is not failing with the default values as selected.
Default for 'FailingNode' variable
Default value for the 'FailingNode' variable, if no node is failing.
Default for 'FailingNodeMessage' variable
Default value for the 'FailingNodeMessage' variable, if no node is failing.
Default for 'FailingNodeDetails' variable
Default value for the 'FailingNodeDetails' variable, if no node is failing. Since this option was added in 5.4, existing nodes will be initialized with the default for the 'FailingNodeMessage' value.
Default for 'FailingNodeStackTrace' variable
Default value for the 'FailingNodeStackTrace' variable, if no node is failing.
Propagate Variables
If selected, variables defined (or modified) within the Try-Catch block are propagated downstream of this Catch Errors node. In most cases users will want to check this box (which is also the default). Previous versions of KNIME did not have this option and variables were always limited in scope and not visible downstream.

Input Ports

Icon
The original input
Icon
The input to be used when execution on the main branch failed.

Output Ports

Icon
Original input or default if execution failed.
Icon
Reasons for Failure (if any).

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.