Invention Grant
- Patent Title: Exception handling
-
Application No.: US16571592Application Date: 2019-09-16
-
Publication No.: US11442739B2Publication Date: 2022-09-13
- Inventor: Ming Ran Liu , Bao Zhang , Naijie Li , Yuan Zhai , Sean Douglas Perry
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Jeffrey M. Ingalls
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F11/07 ; G06F9/54

Abstract:
Embodiments of the present disclosure relate to a method, system, and computer program product for exception handling. In some embodiments, a method is disclosed. According to the method, in response to an application throwing an exception, a target stack frame for handling the exception is detected from a call stack of the application. The call stack comprises a plurality of stack frames. One of the plurality of stack frames corresponds to a function called by the application and supports either a one-phase exception handling mechanism or a two-phase exception handling mechanism. In response to the target stack frame being detected from the call stack, the target stack frame is caused to handle the exception. In other embodiments, a system and a computer program product are disclosed.
Public/Granted literature
- US20210081208A1 EXCEPTION HANDLING Public/Granted day:2021-03-18
Information query