Show Me
 

Adding Exceptions

Previous previous|next Next Page

Sheila wants to add exception handling to her GET_SAL function. She wants to ensure that the parameter values passed to the function are valid. The parameters for this function are p_id and p_increment.

p_id represents an employee ID in the EMPLOYEES table.

p_increment represents a valid salary increment value (from 1.0 to 1.5).

Launch Demonstration

Show Me and Try It