This video clarifies the usage of the Throw and Rethrow activities in UiPath, highlights the differences between them, and provides a simple use-case demo for using either of the two activities.
While these activities are probably not used everyday, it comes in handy to know how to use them in your exception handling logic, and they are crucial if you want to design your exception handling in a good, multi-level structure.
00:01 Topic and summary of the video
00:18 UiPath Hacks intro theme
00:42 Exception handling overview
01:25 System Demo of using Throw vs. Rethrow. There are two cascaded Try-Catch blocks.
03:18 The Throw Activity throws a new exception, eg. a business one. A new catch block should be defined for this new exception type.
04:50 The Rethrow Activity throws the SAME exception (don't even have a chance to define a new exception in the properties panel)
06:14 Wrap-up and conclusion
Let us keep in touch:
/ gabrielverzea
Watch video When to use the Throw or Rethrow activities in UiPath online without registration, duration hours minute second in high quality. This video was added by user UiPath Hacks by Gabi Verzea 19 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,58 once and liked it 16 people.