Oracle Workflow Guide
Release 2.6.2

Part Number A95265-03
  Go to previous page Go to next page       Go To Table Of Contents Go To Index Go To Table Of Contents

                     Contents  Index  Glossary Master Index Feedback
 

RAISE

Syntax

procedure RAISE

 (name in varchar2);

Description

Raises an exception to the caller by supplying a correct error number and token substituted message for the name of the error message provided.

Calls to TOKEN( ) and RAISE( ) raise predefined errors for Oracle Workflow that are stored in the WF_RESOURCES table. The error messages contain tokens that need to be replaced with relevant values when the error message is raised. This is an alternative to raising PL/SQL standard exceptions or custom-defined exceptions.

Error messages for Oracle Workflow are initially defined in message files (.msg). The message files are located in the res/<language> subdirectory of the Oracle Workflow server directory structure for the standalone version of Oracle Workflow or on your server in the resource/<language> subdirectory under $FND_TOP for the Oracle Applications-embedded version of Oracle Workflow. During the installation of the Oracle Workflow server, a program called Workflow Resource Generator takes the designated message files and imports the messages into the WF_RESOURCES table.

Arguments (input)

name Internal name of the error message as stored in the table WF_RESOURCES.

See Also

TOKEN

CONTEXT

To run the Workflow Resource Generator

 
         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.