Handling exceptions related to corrupt application state

    公开(公告)号:US10346199B2

    公开(公告)日:2019-07-09

    申请号:US12421649

    申请日:2009-04-10

    IPC分类号: G06F9/38 G06F9/48

    摘要: 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.

    Exception raised notification
    3.
    发明授权
    Exception raised notification 有权
    异常提出通知

    公开(公告)号:US08074116B2

    公开(公告)日:2011-12-06

    申请号:US12436175

    申请日:2009-05-06

    IPC分类号: G06F11/00

    CPC分类号: G06F11/0715 G06F11/0778

    摘要: 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.

    摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。

    HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE
    4.
    发明申请
    HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE 审中-公开
    与腐败申请国相关的处理例外情况

    公开(公告)号:US20100262814A1

    公开(公告)日:2010-10-14

    申请号:US12421649

    申请日:2009-04-10

    IPC分类号: G06F9/38

    CPC分类号: G06F9/4812 G06F9/3861

    摘要: 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.

    摘要翻译: 本文描述了异常处理系统,其提供与其他异常不同的处理的一个或多个不同类别的软件异常。 该系统将一个明显的异常视为一个“难以捕获”的异常,它不传递给程序代码的catch块,除非开发人员执行额外的步骤来确认异常的区别性质,并确认程序代码准备妥善处理 例外。 属于此类的异常通常是表示正常异常处理实践无法成功恢复的条件,即损坏应用程序状态的异常。 因此,除非开发人员明确请求将这些异常传递给程序代码,否则系统会阻止开发人员默认捕获这些异常类。 因此,异常处理系统通过防止开发人员错误来鼓励正确的编程实践。

    EXCEPTION RAISED NOTIFICATION
    6.
    发明申请
    EXCEPTION RAISED NOTIFICATION 有权
    例外提示通知

    公开(公告)号:US20100287414A1

    公开(公告)日:2010-11-11

    申请号:US12436175

    申请日:2009-05-06

    IPC分类号: G06F9/54 G06F11/36

    CPC分类号: G06F11/0715 G06F11/0778

    摘要: 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.

    摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。

    OPTIMIZER AS AN APPSTORE SERVICE
    8.
    发明申请
    OPTIMIZER AS AN APPSTORE SERVICE 审中-公开
    优化者作为APPSTORE服务

    公开(公告)号:US20130159122A1

    公开(公告)日:2013-06-20

    申请号:US13327074

    申请日:2011-12-15

    IPC分类号: G06Q30/06 G06F9/45

    CPC分类号: G06Q10/04 G06Q10/06

    摘要: Delivering applications to devices. A method includes receiving, at an AppStore, developer provided application code. The method further includes determining anticipated usage of an application based on the application code at end user devices. The method further includes using the determined anticipated usage, optimizing the developer provided application code at the AppStore to optimize for the anticipated usage. The method further includes delivering the optimized application code from the AppStore to an end user device anticipated to use the optimized application code according to the anticipated usage

    摘要翻译: 将应用程序提供给设备。 一种方法包括在AppStore接收开发人员提供的应用代码。 该方法还包括基于最终用户设备处的应用代码确定应用的预期使用。 该方法还包括使用确定的预期用途,优化在AppStore处的开发者提供的应用代码以优化预期的使用。 该方法还包括将优化的应用程序代码从AppStore传递到期望根据预期使用情况使用优化的应用程序代码的最终用户设备