Exception raised notification
Abstract
An exception notification system is described herein that provides an early notification that a software exception has occurred before exception handling code has run. The exception notification system receives a registration request from program code to register a handler to receive an early notification when an exception occurs. When an exception occurs, the system raises an event that calls each registered handler. After the handler returns, the system performs normal exception handling, so that the early notification does not change existing exception-handling behavior. The exception notification system allows a program to inspect and log an exception before the program state has been modified by exception handling. The program code can capture detailed information about the cause of the exception to enable further offline analysis. Thus, the exception notification system allows developers to improve their programs by receiving more information about unexpected conditions in the program code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for providing notification of an exception, the method comprising: receiving notification that an exception has been raised during execution of an application; detecting a runtime exception handler associated with a frame in which the exception occurred; identifying a runtime thread object associated with the exception; identifying an application object associated with the identified thread object; invoking an exception notification handler associated with the identified application object; and performing normal exception handling to process the exception and to c
- Claim 2Depends on #1
The method of claim 1 wherein receiving notification that an exception has been raised comprises calling an operating system-provided function for raising a soft
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "Design Guidelines, Managed code and the .NET Framework", Retrieved at<<http://blogs.msdn.com/brada/archive/2004/10/24/247002.aspx>>, pp. 5.
- "Design Guidelines, Managed code and the .NET Framework", Retrieved at>, pp. 5.
- "International Search Report", Mailed Date: Nov. 29, 2010, Application No. PCT/US2010/033247, Filed Date: Apr. 30, 2010, pp. 9.
- Cabral, et al."Exception Handling: A Field Study in Java and .NET", Retrieved at<<http://eden.dei.uc.pt/~bcabral/ExceptionHandling-A-Field-Study-camready.pdf>>, pp. 25.
- Cabral, et al."Exception Handling: A Field Study in Java and .NET", Retrieved at<<http://eden.dei.uc.pt/˜bcabral/ExceptionHandling—A—Field—Study—camready.pdf>>, pp. 25.