UiADPv1 Exam QuestionsBrowse all questions from this exam

UiADPv1 Exam - Question 46


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?

Show Answer
Correct Answer: A

A Business Exception should be thrown in this scenario. This is because the incomplete phone number due to a human mistake does not meet the business requirements. Business Exceptions are typically used when an operation fails due to business logic issues, such as validation errors or data inconsistencies, which is exactly the case here since incomplete phone numbers should not be accepted.

Discussion

2 comments
Sign in to comment
kingkayyOption: A
Apr 17, 2024

Business exception.

Brandon00777Option: A
Feb 25, 2024

B is correct. Business Exceptions contain applicable data however, that data does not meet business requirements and a customized exception is thrown.

6eebb19
Apr 11, 2024

Can someone confirm this? Thanks!

kingkayy
Apr 15, 2024

It is a business exception. It involves a human error in this case. It has nothing to do with system or application. System exception becomes an application exception in orchestrator. Both options have been made available in this case.