The Exception Thrower Processor throws an exception with specified message.
Select the Processor Configuration tab and click on Add Processor.
Select the Exception Thrower Processor from the drop down.
In the Basic tab, you can set:
The Message field which is used for the message for the exception.
In the Conditional Execution tab, you can set additional processor execution conditions. The Transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped.