Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

PLW-05021

exception string does not have a pragma EXCEPTION_INIT

Cause

A user-defined exception was declared but it was not given an exception number by the pragma EXCEPTION_INIT. Good practice suggests that all user-defined exceptions should be explicitly numbered.


Action

Add a pragma EXCEPTION_INIT to give the exception a number.