Exam UiARD All QuestionsBrowse all questions from this 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?

    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
Engineer24Option: D

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.

IngvarnOption: D

D. Try Catch

MirjalolOption: D

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