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?
A . Business Exception
B . Application Exception
C . Fatal Exception
D . System Exception
Answer: A
Explanation:
The type of error that should be thrown according to best practices for queue items that contain partial numbers is Business Exception. A Business Exception is an exception that occurs due to an incorrect or incomplete input data or an expected business rule violation. A Business Exception indicates that the transaction item cannot be processed successfully and should be marked as failed in the queue. A Business Exception can be thrown by using the Throw activity in UiPath Studio, with the exception type set to UiPath.Core.BusinessRuleException. Alternatively, a Business Exception can be thrown by using the Set Transaction Status activity in the REFramework, with the status set to Failed and the exception type set to Business Exception.
Reference: [Business Exception vs Application Exception], [Throw], [Set Transaction Status]
Latest UIPATH-ADPV1 Dumps Valid Version with 200 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund