UiPath Automation Developer Professional v1 — Question 83

A project built using REFramework pulls phone numbers from a database of employees and creates queue items for each one. Following processing, these elements must be added to a financing application. The queue item holding a phone number becomes invalid if a digit is accidentally left out because of a human mistake. As a requirement, queue items that contain partial numbers should not be accepted.
What type of error should be thrown according to best practices?

Answer options

Correct answer: A

Explanation

The correct answer is A, Business Exception, because it indicates a violation of business rules, such as the requirement that only complete phone numbers should be processed. The other options represent different levels of error handling: Application Exception deals with issues internal to the application, Fatal Exception indicates a critical failure, and System Exception relates to underlying system errors, none of which are applicable in this case.