Catch


The Catch node stores exceptions thrown by nodes and outputs the exception messages for processing by subsequent nodes.

Node Type

Logic.

Input and Output Ability

This node has 0 entry points and multiple exit points.

Node Properties

../../_images/catch.png


Name

The name for this node.


Description

The description for this node.

Limitations

  • Each flow can only have 1 Catch node.

Samples

Input Sample

{
    "MetaData": {
        "CamelRedelivered": "false",
        "CamelRedeliveryCounter": "0"
    },
    "Body": {
        "assetId": "abc",
        "timestamp": 24214324324,
        "measurepoints":{
            "temperature": 22.4,
            "humidity": 78
        }
    }
}

Output Sample

{
    "MetaData": {
        "CamelRedelivered": "false",
        "CamelRedeliveryCounter": "0",
        "ExceptionMessage": "File path is null"
    },
    "Body": {
        "assetId": "abc",
        "timestamp": 24214324324,
        "measurepoints":{
            "temperature": 22.4,
            "humidity": 78
        }
    }
}