Kiran needs help in following the rules that must be followed while creating exception handling strategy. Which rules he must consider from below list ?
Select one or more:
a. Create meaningful exception messages.
b. Delay till testing to rectify an incorrect exception.
c. Differentiate between application business and technical exceptions.
d. Think of a strategy for logging exceptions.
Answers
Answer:
the answer is (a) one please rate my answer
Kiran is creating an exception handling strategy. The four options of rules given to him are
a. Create meaningful exception messages - He should follow this as meaningful messages help in connecting more with the masses. People also get motivated and understand things better with such messages.
b. Delay till testing to rectify an incorrect exception - He should not do this because if the correction is pointed out late, it might get irritating for the people who are working to rectify under so much pressure of the deadline coming closer.
c. Differentiate between application business and technical exceptions - He could do this, dividing the team into two parts would give them more results and at a quicker pace as well, thus increasing productivity.
d. Think of a strategy for logging exceptions - He should do this, as it would help maintain records as well.