Oracle® Database PL/SQL Language Reference 11g Release 2 (11.2) Part Number E17126-08 |
|
|
PDF · Mobi · ePub |
The RAISE
statement explicitly raises an exception. Outside an exception handler, you must specify the exception name. Inside an exception handler, if you omit the exception name, the RAISE
statement reraises the current exception.
Name of an exception, either predefined (see Table 11-3) or user-declared (see "Exception Declaration").
exception
is optional only in an exception handler, where the default is the current exception (see "Reraising Current Exception with RAISE Statement").