Error handling

The group allows for handling exceptions returned by the application in case an unexpected error occurs during the execution of an operation or in process places planned by the author.

Error Handling activity category

Rethrow

The activity can be used only in Catch field of TryCatch activity. It throws again an exception which was already handled.

Throw

The activity throws an exception indicated by the process author. The exception should be defined in Properties window. It is also possible to use exceptions available in Comarch ERP Standard API.

Properties of the activity Throw

TryCatch

In case an exception occurs during the execution of operations contained in Try field, execution of the action will be interrupted and actions defined in Catch field will be started. Regardless of whether an exception occurs or not, at the end the operations indicated in Finally field will be executed.

TryCatch activity

 

 

Czy ten artykuł był pomocny?