Oracle Error PLS-00124: name of exception expected for first arg in exception_init pragma

Oracle Error Message

PLS-00124: name of exception expected for first arg in exception_init pragma

Reason for the Error

The first argument passed to the EXCEPTION_INIT pragma was something other than an exception name. The first argument must be the name of a legally declared exception.

Solution

Replace the first argument with the name of a legally declared exception.