Error Code |
Reason |
ORA-00942 |
-- Parsing user does not have access to the objects
lc_outside_security exception;
lc_outside_security_msg constant varchar2(256) := 'Parsing user cannot access the objects.';
pragma exception_init(lc_outside_security, -942); |
ORA-20001 |
-- instance name for the source instance must be entered
lc_err_null_instance_name exception;
lc_err_null_instance_code constant numeric := -20001;
lc_err_null_instance_msg constant varchar2(256) := 'Instance name cannot be null.';
pragma exception_init(lc_err_null_instance_name, -20001); |
ORA-20002 |
-- instance name entered does not match an active instance, excluding the current
lc_err_invalid_instance_name exception;
lc_err_invalid_instance_code constant numeric := -20002;
lc_err_invalid_instance_msg constant varchar2(256)
:= 'Instance name is invalid:';
pragma exception_init(lc_err_invalid_instance_name, -20002); |
ORA-20003 |
-- multiple instances exist with the instance name entered
lc_err_multiple_instance_names exception;
lc_err_multiple_instance_code constant numeric := -20003 ;
lc_err_multiple_instance_msg constant varchar2(256)
:= 'Multiple instances with name:';
pragma exception_init(lc_err_multiple_instance_names, -20003); |
ORA-20004 |
-- no instance id. found with the given instance name (eg. it is now down)
lc_err_no_instance_found exception;
lc_err_no_instance_found_code constant numeric := -20004 ;
lc_err_no_instance_found_msg constant varchar2(256)
:= 'Instance not found:';
pragma exception_init(lc_err_no_instance_found, -20004); |
ORA-20005 |
-- user name entered does not match known user
lc_err_invalid_username exception;
lc_err_invalid_username_code constant numeric := -20005 ;
lc_err_invalid_username_msg constant varchar2(256)
:= 'User name is invalid:';
pragma exception_init(lc_err_invalid_username, -20005); |
ORA-20006 |
-- execution threshold should be greater than zero
lc_err_threshold_exec exception;
lc_err_threshold_exec_code constant numeric := -20006 ;
pragma exception_init(lc_err_threshold_exec, -20006); |
ORA-20007 |
-- shared memory threshold should be greater than zero
lc_err_threshold_sharable_mem exception;
lc_err_threshold_shar_mem_code constant numeric := -20007 ;
pragma exception_init(lc_err_threshold_sharable_mem, -20007); |
ORA-20008 |
-- no SQL text address descriptors returned
lc_err_no_matching_SQL exception;
lc_err_no_matching_SQL_code constant numeric := -20008 ;
lc_err_no_matching_SQL_msg constant varchar2(256)
:= 'No SQL statements found matching the input criteria.';
pragma exception_init(lc_err_no_matching_SQL, -20008); |
ORA-20009 |
-- no SQL text returned for the address descriptor
lc_err_no_SQL_text exception;
lc_err_no_SQL_text_code constant numeric := -20009 ;
lc_err_no_SQL_text_msg constant varchar2(256) := 'No SQL text found.';
pragma exception_init(lc_err_no_SQL_text, -20009); |
ORA-20100 |
-- Fatal error in compile from remote
lc_err_compile_cursors exception;
lc_err_compile_cursors_code constant numeric := -20100 ;
lc_err_compile_cursors_msg constant varchar2(256)
:= 'Exiting compile from remote';
pragma exception_init(lc_err_compile_cursors, -20100); |
ORA-20111 |
-- Non-fatal error in compile cursor job
lc_warn_compile_cursors exception;
lc_warn_compile_cursors_code constant numeric := -20111 ;
lc_warn_compile_cursors_msg constant varchar2(256)
:= 'Warning at cursor :';
pragma exception_init(lc_warn_compile_cursors, -20111); |
ORA-20112 |
-- Fatal error in compile cursor job
lc_error_count_exceeded exception;
lc_error_count_exceeded_code constant numeric := -20112 ;
lc_error_count_exceeded_msg constant varchar2(256) := 'Error threshold exceeded.';
pragma exception_init(lc_error_count_exceeded, -20112); |
ORA-20114 |
-- Warn of unsupported data types during binding
lc_warn_unsupported_type exception;
lc_warn_unsupported_type_code constant numeric := -20114 ;
lc_warn_unsupported_type_msg constant varchar2(256) := 'Warning - bind datatype is not supported.';
pragma exception_init(lc_warn_unsupported_type, -20114); |
ORA-20115 |
-- Raise an error if database link is null, db_access_method only
lc_err_null_db_link exception;
lc_err_null_db_link_code constant numeric := -20115 ;
lc_err_null_db_link_msg constant varchar2(256) := 'Database link is null.';
pragma exception_init(lc_err_null_db_link, -20115); |
ORA-20116 |
-- Raise an error if the database link is invalid, db_access_method only
lc_err_invalid_db_link exception;
lc_err_invalid_db_link_code constant numeric := -20116 ;
lc_err_invalid_db_link_msg constant varchar2(256) := 'Database link is invalid, see error stack.';
pragma exception_init(lc_err_invalid_db_link, -20116); |
ORA-20118 |
-- Invalid schema name (parsing user is dropped)
lc_err_invalid_schema exception;
lc_err_invalid_schema_code constant numeric := -20118 ;
lc_err_invalid_schema_msg constant varchar2(256) := 'Parsing schema id no longer exists:';
pragma exception_init(lc_err_invalid_schema, -20118); |