Oracle Exception Name |
Oracle Error |
Explanation |
DUP_VAL_ON_INDEX |
ORA-00001 |
Unique constraint
violation. This means you've used constraints or indexes
to restrict entry of duplicate records, but then gone and
tried to insert a duplicate record, at least as far as the
record's keys are concerned. |
TIMEOUT_ON_RESOURCE |
ORA-00051 |
A time-out
occurred while waiting on a resource. This usually means
that there was some sort of unusual termination of an
Oracle instance. |
TRANSACTION_BACKED_OUT |
ORA-00061 |
The remote portion
of a transaction has rolled back. |
INVALID_CURSOR |
ORA-01001 |
The cursor does
not yet exist. The cursor must be OPENed before any FETCH
cursor or CLOSE cursor operation. |
NOT_LOGGED_ON |
ORA-01012 |
You are not logged
on. |
LOGIN_DENIED |
ORA-01017 |
Invalid
username/password. |
NO_DATA_FOUND |
ORA-01403 |
This exception is
returned when your select statement returned zero rows.
NOTE that an update statement will not throw this
exception. Instead, query the sql%notfound and the
sql%rowcount variables to determine the result of your
update statements
|
TOO_MANY_ROWS |
ORA-01422 |
A SELECT ... INTO
query matched more than one row. That is, a select that
was supposed to return a single row returned more than one
row. |
ZERO_DIVIDE |
ORA-01476 |
Divide by zero
error. |
INVALID_NUMBER |
ORA-01722 |
This exception
occurs when you try to convert a string to a number, and
the string doesn't contain a valid number. |
STORAGE_ERROR |
ORA-06500 |
Occurs when PL/SQL
itself has run out of memory, it needs more than is
available, or if there was some sort of corruption error. |
PROGRAM_ERROR |
ORA-06501 |
This exception
is thrown when the PL/SQL interpreter itself encounters
an error while processing your code.
|
VALUE_ERROR |
ORA-06502 |
You tried to
perform an operation and there was a error on a
conversion, truncation, or invalid constraining of numeric
or character data. |
ROWTYPE_MISMATCH |
ORA-06504 |
You'll get this
exception when a host cursor variable and the PL/SQL
cursor variable you're fetching into have incompatible
types.
|
CURSOR_ALREADY_OPEN |
ORA-06511 |
You attempted to
open a cursor that was already open |
ACCESS_INTO_NULL |
ORA-06530 |
Attempt to assign
values to the attributes of a NULL object |
COLLECTION_IS_NULL |
ORA-06531 |
An attempt was
made to apply collection methods other than EXISTS to a
NULL PL/SQL table or varray |
SELF_IS_NULL
|
|
Occurs when an attempt to
call a MEMBER method is made on a null instance.
|
SUBSCRIPT_BEYOND_COUNT
|
|
Means you tried to index
off the end of a varray or nexted table. The index you
used was 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 an
index of -1.
|
SYS_INVALID_ROW
|
|
This occurs when the
character string used to represent the rowID fails because
the character string doesn't represent a valid row ID.
|
|
|
|
|
|
|