Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam UiADAv1 All Questions

View all questions & answers for the UiADAv1 exam

Exam UiADAv1 topic 1 question 103 discussion

Actual exam question from UiPath 's UiADAv1
Question #: 103
Topic #: 1
[All UiADAv1 Questions]

Consider the following code involving a Try Catch:


What will be the output after running the code?

  • A. "BRE caught", "Finally executed", exception rethrown
  • B. "BRE caught", exception rethrown, "Finally executed"
  • C. "Exception caught", "Finally executed"
  • D. "BRE caught", exception rethrown
Show Suggested Answer Hide Answer
Suggested Answer: B -
🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
TomaszWol
6 months, 1 week ago
Something is missing here for me. I created a sequence in UiPath Studio to test this example and I was trying to make any of these answers possible, but none of them was. If we call Rethrow activity in Catch-block then the Finally-block is not able to be executed. Option C can't be correct because "Exception Caught" means that that Exception was thrown, not Business Rule Exception. Any ideas?
upvoted 1 times
...
Mhouten
8 months, 2 weeks ago
Could anyone explain to me why the answer should be 'B' and not for example 'C'?
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...