Invention Grant
- Patent Title: Handling exceptions related to corrupt application state
-
Application No.: US12421649Application Date: 2009-04-10
-
Publication No.: US10346199B2Publication Date: 2019-07-09
- Inventor: Andrew J. Pardoe , Michael M. Magruder , Kumar Gaurav Khanna , Diana Milirud , Gaye Oncul Kok
- Applicant: Andrew J. Pardoe , Michael M. Magruder , Kumar Gaurav Khanna , Diana Milirud , Gaye Oncul Kok
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agency: Fiala & Weaver P.L.L.C.
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F9/48

Abstract:
An exception handling system is described herein that provides one or more distinguished classes of software exceptions that are handled differently than other exceptions. The system treats a distinguished exception as a “hard to catch” exception that is not passed to the catch block of program code unless a developer performs extra steps to acknowledge the distinguished nature of the exception and confirm that the program code is prepared to properly handle the exception. Exceptions that fall into this class are typically those that represent conditions from which normal exception handling practices cannot successfully recover, namely exceptions that corrupt application state. Accordingly, the system prevents the developer from catching these classes of exceptions by default unless the developer explicitly requests to have these exceptions delivered to the program code. Thus, the exception handling system encourages correct programming practices by preventing developer error by default.
Public/Granted literature
- US20100262814A1 HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE Public/Granted day:2010-10-14
Information query