发明名称 HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE
摘要 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.
申请公布号 US2010262814(A1) 申请公布日期 2010.10.14
申请号 US20090421649 申请日期 2009.04.10
申请人 MICROSOFT CORPORATION 发明人 PARDOE ANDREW J.;MAGRUDER MICHAEL M.;KHANNA KUMAR GAURAV;MILIRUD DIANA;KOK GAYE ONCUL
分类号 G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址