How to catch Exception

Hello everyone, 

I'm testing things alone and, when I create a connector, I have the generate an error event option, and throw an Exception.

I understood how to catch error using error event, but I don't know how to use Exception when they are thrown.

How to proceed using Exceptions ?

 

Thank you :)

Hello,

When the "Throw Exception" is used, the task hosting the connector will go to failed state (the Bonita engine will catch the exception for you). Then it is a matter to replay the task after the technical error has been fixed by the administrator.

Note: Error management capabilities are stronger in the Enterprise edition of Bonita where admins can better handle Tasks and Connector replay from the UI.

hope this helps,

Captain Bonita