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
Смотрите видео When to use the Throw or Rethrow activities in UiPath онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь UiPath Hacks by Gabi Verzea 19 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,58 раз и оно понравилось 16 людям.