|
In the wwerr_api_error API package, the error_record record contains the
properties necessary for error handling and error display methods.
The error_record record structure is:
type error_record is record
(
product varchar2(12),
code integer,
text varchar2(2000),
context varchar2(64),
msg_domain wwnls_strings$.domain%type,
msg_sub_domain wwnls_strings$.sub_domain%type default 'all',
msg_name wwnls_strings$.name%type,
msg_id wwnls_strings$.id%type,
msg_p1 varchar2(2000) default null,
msg_p2 varchar2(2000) default null,
msg_p3 varchar2(2000) default null,
msg_p4 varchar2(2000) default null,
msg_p5 varchar2(2000) default null,
msg_p6 varchar2(2000) default null,
msg_p7 varchar2(2000) default null,
msg_p8 varchar2(2000) default null,
msg_p9 varchar2(2000) default null,
call_stack varchar2(4000) default null
);
|
Version: Oracle Portal 3.0.6.6.5 or
later
|
|
Term
|
Definition
|
|
product
|
The name of the product that owns the error.
Datatype: varchar2(12)
|
|
code
|
The record ID returned as an NLS string ID.
Datatype: integer
|
|
text
|
The text string of the error message.
Datatype: varchar2(2000)
|
|
context
|
The name of the method in which the error occurred.
Datatype: varchar2(64)
|
|
msg_domain
|
The name of the domain that generated the error.
Datatype: varchar2
|
|
msg_sub_domain
|
The name of the sub-domain that owns the message.
Datatype: varchar2
Default: 'all'
|
|
msg_name
|
An identifier for the message.
Datatype: varchar2
|
|
msg_id
|
A unique identifier for the messge.
Datatype:varchar2
|
|
msg_p1 . . . msg_p9
|
Passed-in values for the resulting display message.
Datatype: varchar2(2000)
Default: null
|
|
call_stack
|
This field is not currently used.
|
Error stack error table
type error_table is table of error_record index by binary_integer;
|