Method, system and program for handling errors occurring in function calls
Abstract
Provided is a method, system, and program for handling errors in a service program including service functions capable of being called from application programs. A call is received for one service function from a service function call within one application program. A series of test operations are performed when executing the service function call. Each test operation returns an identifier if the test operation failed where each identifier is associated with one error state. If one test operation failed, then the identifier for the failed test operation is transferred to an error handling agent, wherein the error handling agent accesses error information associated with the identifier and generates error information describing a specific cause of the error that caused the test operation to fail and then returns to the application program with a generic return code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 26.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for handling errors in a service program including service functions capable of being called from application programs, comprising: receiving a call for one service function from a service function call within one application program; performing a series of test operations when executing the service function call, wherein each test operation returns an identifier if the test operation failed, wherein each identifier is associated with one error state; if one test operation failed, transmitting the identifier associated with the error state of the failed test operation to an error hand
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 26 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (4)
- IBM Corp., "Dynamic Error Management Function," Technical Disclosure Bulletin, vol. 33, No. 7, Dec. 1990, pp. 380-381.
- IBM, Corp., "RPG II Source Mapping Technique," Technical Disclosure Bulletin, vol. 20, No. 6, Nov. 1977, pp. 2391-2392.
- TITLE: Design verification via simulation and automatic test pattern generation, author: Al-Assad et al, IEEE, 1995.
- TITLE: Modeling and Testing a Critical Fault-Tolerant Multi-Process System, author: Riter, IEEE, 1995.