The following is a partial list of custom exceptions that are commonly used across the various procedures and functions. Please reference the IN_DB_UTIL creation script for a complete list of exceptions.
Custom Exception | Error | Description |
---|---|---|
INVALID_IDENTIFIER | -20001 | An unsupported identifier was provided for the IN_CONTEXT namespace. |
NAME_UNAVAILABLE | -20002 | The new object name is already being used and is unavailable. |
INVALID_CHECK_TYPE | -20004 | Raised the CHECK_PARAMETER procedure when an unsupported CHECK_TYPE was used. |
INVALID_OBJECT_TYPE | -20005 | The specified object type is invalid. |
INVALID_OBJECT | -20006 | The specified object name was not found. |
INVALID_FQN | -20007 | Raised by the CHECK_PARAMETER procedure if the constructed object name is malformed and is not OWNER.OBJECT_NAME. |
FAILED_CHECK | -20030 | The parameter value, as checked by the CHECK_PARAMETER procedure, is invalid. |
IS_EXECUTING | -20040 | An attempt was made to initialize a session for one of IN_CONTEXT namespace identifiers but the identifier is already in use by another session. |
TAG_MISMATCH | -20050 | The TAG that was provided does not match the TAG associat |
OTHERS | All other unhandled exceptions. |