Skip to main content

Throws an Exception

The Throws an Exception mapping (exceptionmapping) inspects the JSON node at the from path for an array of objects containing message fields. If such fields are found, it throws a RuntimeException with their combined contents. This mapping is used to interrupt processing when validation or semantic errors are encountered in the message payload.

Attributes for Throws an Exception

AttributeRequiredDescription
fromYDefines the source field for the mapping.
toYDefines where the result should be inserted.
FunctionYShould be set to "Throws an exception".
Funtion TypeYMust be "Enrichment"