Oracle9iAS Portal Developer Kit

Error handling and display API packages

This topic presents an overview of the routines in the wwerr_api_error and wwerr_api_error_ui API packages. These API packages contain all the routines necessary to perform the following operations:

  • Use error handling methods add, retrieve, and clear errors from an error stack, and to do related operations.

  • Use error display methods to support a standardized UI for presenting errors contained in the error stack.

Error handling API (wwerr_api_error) topic names and descriptions

Error handling and display methods

Presents introductory information for error and error UI API packages.

Error handling constants

Presents the constants that can be used by the error handling API methods.

Error_record record structure and table

Presents the error record structure.

add procedure (domain, subdomain, name, context)

Adds an error to the error stack.

add procedure (domain, id, context)

Adds an error to the error stack.

clear procedure

Clears the error stack.

is_empty function

Determines if the error stack is empty.

get_top function

Returns the uppermost entry of the error stack.

get_errors function

Returns a list of the entries in the error stack.

get_text_stack function

Reports the current error stack as varchar2.

get_count function

Reports the number of entries in the error stack.

Error display API (wwerr_api_error_ui) topic names and descriptions

Content type constants

Presents the constants that can be used by the error display API methods.

show procedure

Displays the error stack in the output format requested.

show_html procedure

Displays the error stack in full screen HTML format

show_inline_html procedure

Displays the error stack in inline HTML format.

get_inline_html function

Returns the error stack in HTML format.

show_xml procedure

Displays the error stack in XML format.

show_text procedure

Displays the error stack in text format.

show_inline_text procedure

Displays the error stack in inline text format.

get_text_errors function

Reports the current error stack as varchar2.

show_error_page procedure

Displays a stand alone error page with a Back link for errors that don't get generated from Oracle Portal.

Related topics

 

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio