Predefined (Named) PL/SQL Exceptions
|
||
For a full list of all 18,000 PL/SQL Errors, visit the Oracle Error Code
Library
|
||
Exception Name
|
Error
|
Description
|
ACCESS_INTO_NULL
|
Attempted to assign values to the attributes of an
uninitialized (NULL) object.
|
|
CASE_NOT_FOUND
|
||
COLLECTION_IS_NULL
|
Attempt to apply collection methods other than EXISTS to
an uninitialized (NULL) PL/SQL table or VARRAY.
|
|
CURSOR_ALREADY_OPEN
|
Exactly what it seems to be. Tried to open a cursor that
was already open
|
|
DUP_VAL_ON_INDEX
|
An attempt to insert or update a record in violation of a
primary key or unique constraint
|
|
INVALID_CURSOR
|
The cursor is not open, or not valid in the context in
which it is being called.
|
|
INVALID_NUMBER
|
It isn't a number, even though you are treating it like
one to trying to turn it into one.
|
|
LOGIN_DENIED
|
Invalid name and/or password for the instance.
|
|
NO_DATA_FOUND
|
The SELECT statement returned no rows or referenced
a deleted element in a nested table or referenced an initialized element in
an Index-By table.
|
|
NOT_LOGGED_ON
|
Database connection lost.
|
|
PROGRAM_ERROR
|
Internal PL/SQL error.
|
|
ROWTYPE_MISMATCH
|
The rowtype does not match the values being fetched or
assigned to it.
|
|
SELF_IS_fs
|
Program attempted to call a MEMBER method, but the
instance of the object type has not been intialized. The built-in parameter
SELF points to the object, and is always the first parameter passed to a
MEMBER method.
|
|
STORAGE_ERROR
|
A hardware problem: Either RAM or disk drive.
|
|
SUBSCRIPT_BEYOND_COUNT
|
Reference to a nested table or varray index higher than
the number of elements in the collection.
|
|
SUBSCRIPT_OUTSIDE_LIMIT
|
Reference to a nested table or varray index outside the
declared range (such as -1).
|
|
SYS_INVALID_ROWID
|
The conversion of a character string into a universal
rowid fails because the character string does not represent a valid rowid.
|
|
TIMEOUT_ON_RESOURCE
|
The activity took too long and timed out.
|
|
TOO_MANY_ROWS
|
The SQL INTO statement brought back more than one value
or row (only one is allowed).
|
|
USERENV_COMMITSCN_ERROR
|
Added for USERENV enhancement, bug 1622213.
|
|
VALUE_ERROR
|
An arithmetic, conversion, truncation, or size-constraint
error. Usually raised by trying to cram a 6 character string into a VARCHAR2(5)
variable
|
|
ZERO_DIVIDE
|
Not only would your math teacher not let you do it,
computers won't either. Who said you didn't learn anything useful in primary
school?
|
Pages
- Home
- SQL Fundamentals
- SQL Fundamentals II
- SQL PLUS
- PL/SQL
- Forms and Reports
- HTML5
- JavaScript
- PHP
- jQuery
- Java
- NLS_LANG
- SQL SERVER
- PL/SQL Collections and Records
- DBMS_OUTPUT built-in package
- Date and Time
- PL/SQL Transactions
- Ref Cursors
- Bulk Binds
- PL/SQL Analytic Functions
- Problems and solves
- Oracle Indexes
- Oracle Courses
- PHP
- Work Samples
- Record & Collection
- LOOP
- Conditional statements
- Triggers
- Object Oriented
- Contact Me
Monday, May 25, 2015
Execptions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment