UiARD Exam QuestionsBrowse all questions from this exam

UiARD Exam - Question 79


A developer has a project which includes a Global Exception Handler. Based on best practice, all exceptions should be caught and handled as defined by the business requirements. To ensure the defined exceptions do not reach the Global Exception Handler, which activity must be used?

Show Answer
Correct Answer: D

To ensure the defined exceptions do not reach the Global Exception Handler, a Try Catch block must be used. This block allows a developer to catch exceptions that are thrown during execution and handle them as defined by the business requirements, preventing them from propagating to the global exception handler.

Discussion

3 comments
Sign in to comment
Engineer24Option: D
Apr 20, 2024

Use Try Catch block to handle exceptions which are thrown by using Throw activity. So that if any unknown exceptions occurred then it will be handled by Global Exception Handler.

MirjalolOption: D
Jul 18, 2024

Yes, try catch is recommended, https://docs.uipath.com/studio/standalone/2023.4/user-guide/global-exception-handler

IngvarnOption: D
Nov 28, 2024

D. Try Catch