iRobo.Activity.TryCatch

Catches a specified exception type in a Sequence or Activity; either displays a notification error or dismisses it and continues execution.


Activity body contains three fields:

  • Try -  Activity performed which has a chance of throwing an error.
  • Catches -  Activity or set of activities performed when an error occurs.
  • Exception -  Exception type to look for. 

         

     Note: 

         User can add multiple exceptions.

  • Finally - Activity or set of activities performed after Try Catch Section. 

     Note: 

         This section is executed only when no exceptions are thrown, or when an error occurs and is caught in the Catch section.

               

                                                                                               

Properties

Misc

  • DisplayName -  Activity header name.


Example on Using Try catch Activity

 Check Here how Try Catch Activity is used in an example to incorporate multiple activities.

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease