Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath-ADAv1 Exam - Topic 5 Question 60 Discussion

In the Catches section of the Try Catch activity a developer selected ArgumentException in the exception handler.What happens when the activity encounters a NullReferenceException?
A) The Finally block is not executed and a runtime error occurs.
B) The Finally block executes and no exception is thrown.
C) The Catches section catches the exception and the Finally block is executed.
D) The Catches section catches the exception and the Finally block is skipped.

UiPath-ADAv1 Exam - Topic 5 Question 60 Discussion

Actual exam question for UiPath's UiPath-ADAv1 exam
Question #: 60
Topic #: 5
[All UiPath-ADAv1 Questions]

In the Catches section of the Try Catch activity a developer selected ArgumentException in the exception handler.

What happens when the activity encounters a NullReferenceException?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Dulce
4 days ago
If I recall correctly, the Catches section won't catch a NullReferenceException if it's not specified, which might mean the Finally block could still run.
upvoted 0 times
...
Ruth
9 days ago
I think I practiced a similar question where the Finally block always executes, but I'm not entirely sure if that applies here since it depends on the exception type.
upvoted 0 times
...
Amber
14 days ago
I remember studying that the Catches section only handles specific exceptions, so I'm not sure if it would catch a NullReferenceException if ArgumentException is selected.
upvoted 0 times
...

Save Cancel