UiPath Advanced RPA Developer (UiARD) — Question 89
A developer is working on an automation in the Robotic Enterprise (RE) Framework. Each transaction item represents customer data. The automated process must click on the "Generate Shipment Details" button for each customer. Ideally, this generates a table of shipping records per customer.
If the generated table displays only the header row and no data is available for the current customer, then it should be marked as an exception since the data is not available and processing for that customer should stop. What is this type of exception?
Answer options
- A. System Exception
- B. ApplicationException
- C. BusinessRuleException
- D. NullReferenceException
Correct answer: C
Explanation
The correct answer is C, BusinessRuleException, because it pertains to business logic violations, such as the absence of data for processing. The other options do not apply: System Exception refers to issues with the system itself, ApplicationException is too broad, and NullReferenceException specifically indicates an attempt to access an object that isn't instantiated.