What type of error should be thrown according to best practices?

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 . Fatal Exception
C . Application Exception
D . System Exception

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments