Search Results raise_exception
Overview
APP_EXCEPTION is a foundational Oracle E-Business Suite (EBS) PL/SQL package body owned by the APPS schema. It provides a standardized mechanism for applications to raise, propagate, and interrogate application-level exceptions across the EBS technology stack. Rather than relying solely on native PL/SQL error handling, EBS components use APP_EXCEPTION to attach meaningful messages, codes, and typed error classifications to exceptions so that callers can present consistent, user-friendly diagnostics. In the context of EBS 12.1.1 and 12.2.2, the package remains VALID and is classified as an OTHER API, indicating it is an internal utility rather than a published business API. Its broad adoption is reflected in the fact that it is referenced by 3,809 other packages, making it one of the most widely consumed internal utilities in the APPS schema.
Key Procedures and Functions
- RAISE_EXCEPTION — Initiates an application exception, allowing a caller to signal an error condition together with supporting text and code information so it can be surfaced consistently through the EBS message stack.
- GET_EXCEPTION — Retrieves the current or most recent exception information, enabling calling code to inspect the details of a raised exception after it has been trapped.
- GET_TYPE — Returns the type classification associated with the exception, permitting callers to branch logic based on the category of error encountered.
- GET_CODE — Returns the code value associated with the exception, typically used for programmatic identification and lookup of the underlying error.
- GET_TEXT — Returns the human-readable text of the exception message, suitable for display in forms, reports, or log output.
- INVALID_ARGUMENT — A convenience routine for raising an exception when an argument fails validation, standardizing the error path for invalid input.
Tables Accessed
The documented metadata for APP_EXCEPTION does not list any base tables accessed through APPS synonyms. This is consistent with the package's design as a lightweight, in-memory exception utility that operates on PL/SQL exception state rather than persisting data to database tables. Any message or exception detail handling is mediated through dependencies on other technology-stack components rather than direct table SQL.
Usage Notes
APP_EXCEPTION is invoked throughout EBS in forms, concurrent programs, and custom PL/SQL code wherever consistent error handling is required. Its dependency list confirms tight integration with the EBS technology stack: it references APP_EXCEPTION (its own specification), FND_LOG for logging exceptions to the application log, FND_MESSAGE for message retrieval and formatting, and the SYS-supplied DBMS_STANDARD and STANDARD packages for core PL/SQL error facilities. Because it is not referenced by any database object, it sits at the top of the dependency hierarchy, calling into FND services without being called by other database-resident objects. Developers should treat it as a shared internal utility: it is appropriate for standardizing exception propagation in custom EBS code, but it is not a published business API and its behavior should be exercised in non-production environments before adoption.
-
PACKAGE BODY: APPS.APP_EXCEPTION
12.1.1
-
PACKAGE BODY: APPS.APP_EXCEPTION
12.2.2
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
-
PACKAGE: APPS.OEONUM
12.1.1
-
PACKAGE: APPS.OEONUM
12.2.2
-
PACKAGE: APPS.XLA_EXCEPTIONS_PKG
12.1.1
-
PACKAGE: APPS.XLA_EXCEPTIONS_PKG
12.2.2
-
APPS.OE_LINE_DETAILS_PKG SQL Statements
12.1.1
-
APPS.OE_LINE_DETAILS_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.GLXRVSUB_PKG
12.1.1
-
PACKAGE: APPS.GLXRVSUB_PKG
12.2.2
-
PACKAGE BODY: APPS.ZPB_ERROR_HANDLER
12.1.1
-
PACKAGE BODY: APPS.OE_LINE_DETAILS_PKG
12.1.1
-
PACKAGE BODY: APPS.OE_LINE_DETAILS_PKG
12.2.2
-
PACKAGE: APPS.WF_ITEM
12.1.1
-
PACKAGE: APPS.WF_ITEM
12.2.2
-
PACKAGE: APPS.ZPB_ERROR_HANDLER
12.1.1
-
PACKAGE BODY: APPS.XLA_EXCEPTIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.XLA_EXCEPTIONS_PKG
12.2.2
-
PACKAGE BODY: APPS.GLXRVSUB_PKG
12.2.2
-
PACKAGE BODY: APPS.GLXRVSUB_PKG
12.1.1
-
APPS.IGS_FI_PRC_REFUNDS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.WF_ITEM
12.1.1
-
PACKAGE BODY: APPS.OEONUM
12.2.2
-
PACKAGE BODY: APPS.OEONUM
12.1.1
-
PACKAGE BODY: APPS.WF_ITEM
12.2.2
-
APPS.OE_LINE_DETAILS_PKG dependencies on OE_LINE_DETAILS_PKG
12.2.2
-
PACKAGE: APPS.XDP_UTILITIES
12.1.1
-
PACKAGE: APPS.XDP_UTILITIES
12.2.2
-
APPS.OE_LINE_DETAILS_PKG dependencies on OE_LINE_DETAILS_PKG
12.1.1
-
PACKAGE: APPS.BSC_LOCKS_PVT
12.1.1
-
APPS.XDP_UTILITIES dependencies on APP_EXCEPTION
12.1.1
-
APPS.BSC_LOCKS_PVT dependencies on BSC_LOOKUPS
12.1.1
-
APPS.XDP_UTILITIES dependencies on APP_EXCEPTION
12.2.2
-
APPS.GLXRVSUB_PKG dependencies on APP_EXCEPTION
12.2.2
-
APPS.ZPB_ERROR_HANDLER dependencies on APP_EXCEPTION
12.1.1
-
APPS.GLXRVSUB_PKG dependencies on APP_EXCEPTION
12.1.1
-
APPS.IGS_FI_PRC_REFUNDS dependencies on APP_EXCEPTION
12.1.1
-
APPS.FEM_WEBADI_MEMBER_UTILS_PVT dependencies on APP_EXCEPTION
12.1.1
-
APPS.BSC_LOCKS_PVT dependencies on BSC_APPS_USERS_V
12.1.1
-
PACKAGE BODY: APPS.BSC_LOCKS_PVT
12.1.1
-
APPS.XLA_EXCEPTIONS_PKG dependencies on STANDARD
12.1.1
-
APPS.XLA_EXCEPTIONS_PKG dependencies on STANDARD
12.2.2
-
APPS.XLA_EXCEPTIONS_PKG dependencies on XLA_EXCEPTIONS_PKG
12.2.2
-
APPS.XLA_EXCEPTIONS_PKG dependencies on XLA_EXCEPTIONS_PKG
12.1.1
-
APPS.IGS_FI_PRC_REFUNDS dependencies on IGS_PE_ALL_PERSID_GROUP_V
12.1.1
-
PACKAGE BODY: APPS.IGS_FI_PRC_REFUNDS
12.1.1
-
APPS.IGS_FI_PRC_REFUNDS dependencies on IGS_PE_PERSID_GROUP
12.1.1
-
PACKAGE BODY: APPS.XDP_UTILITIES
12.2.2