Skip Headers
Oracle® Database PL/SQL Language Reference
11g Release 2 (11.2)

Part Number E17126-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

RAISE Statement

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.

Topics:

Syntax

raise_statement ::=

raise_statement
Description of the illustration raise_statement.gif

Semantics

exception_name

The name of an exception, either predefined (see Table 11-3) or user-declared (see "Exception Name Declaration").

The exception_name is optional only in an exception handler, where the default is the current exception (see "Reraising Current Exception with RAISE Statement").

Examples

Related Topics

In this chapter:

In other chapters: