Exam 1z0-149 All QuestionsBrowse all questions from this exam
Question 16

Which two are true about exception handling? (Choose two.)

    Correct Answer: C, E

    User-defined exceptions can be defined in the declarative part of any PL/SQL anonymous block, subprogram, or package, providing flexibility in handling custom error conditions specific to the application. Predefined exceptions are globally declared in the standard package, allowing developers to handle common Oracle exceptions without custom declarations. These predefined exceptions simplify error handling for frequent runtime errors.

Discussion
jfc1Options: CE

CE is correct

thranduylOptions: CE

C, E IS CORRECT

mattiamarraffaOptions: CE

C E is correct

dexdinh91Options: AC

I think A and C

TheOracleWasTaken

Some internally defined errors can have a name so u can handle it by name. Also if u use pragma exception init. You can also associate a name with it and then handle it by name. A is wrong