IBM
C2050-725 · Question #16
C2050-725 Question #16: Real Exam Question with Answer & Explanation
Sign in or unlock C2050-725 to reveal the answer and full explanation for question #16. The question stem and answer options stay visible for context.
Question
An application developer ishandling an exception case in a new. custom, controller command. The exception is caused by a transient error, and if the entire transaction is rolled back and retried, the code may complete successfully. How should the developer handle this situation?
Options
- ALog the error condition and throw the ECRetriableException.
- BEnsure the isRetriable() method on the command returns true and throw an ECSystemException
- CUse the TransactionManager.rollback() method to roll back the transaction and retry the entire
- DThrow an ECApplicationException, with an error object containing the retryCount property set to
Unlock C2050-725 to see the answer
You've previewed enough free C2050-725 questions. Unlock C2050-725 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.