-
公开(公告)号:US08271938B2
公开(公告)日:2012-09-18
申请号:US12203860
申请日:2008-09-03
申请人: Patrick H. Dussud , Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Raja Krishnaswamy , Simon J. Hall , Madhusudhan Talluri , Rudi Martin , Michael M. Magruder , Andrew J. Pardoe
发明人: Patrick H. Dussud , Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Raja Krishnaswamy , Simon J. Hall , Madhusudhan Talluri , Rudi Martin , Michael M. Magruder , Andrew J. Pardoe
IPC分类号: G06F9/44
CPC分类号: G06F8/36 , G06F8/76 , G06F9/44521 , G06F9/44584 , G06F9/45508 , G06F9/4552
摘要: Mechanisms that allow frameworks significant flexibility in varying the library of common base classes in a manner that better suits the domain of applications served by the framework. Instead of providing the base class library, the runtime provides a data contract for the data structure of each base class. The frameworks can then define each base class in a custom way so long as the data contract is honored. Thus, for example, the framework may provide custom framework-specific methods and/or properties as is appropriate for the framework. Another framework might define the base classes in a different way.
摘要翻译: 允许框架在以更好的方式适应框架所服务的应用程序的方式来改变共同基类库的大量灵活性的机制。 运行时不提供基类库,而是为每个基类的数据结构提供数据契约。 只要符合数据合约,框架就可以以自定义的方式定义每个基类。 因此,例如,框架可以提供适合框架的特定于框架的特定方法和/或属性。 另一个框架可能会以不同的方式定义基类。
-
公开(公告)号:US20100058283A1
公开(公告)日:2010-03-04
申请号:US12203860
申请日:2008-09-03
申请人: Patrick H. Dussud , Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Raja Krishnaswamy , Simon J. Hall , Madhusudhan Talluri , Rudi Martin , Michael M. Magruder , Andrew Pardoe
发明人: Patrick H. Dussud , Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Raja Krishnaswamy , Simon J. Hall , Madhusudhan Talluri , Rudi Martin , Michael M. Magruder , Andrew Pardoe
IPC分类号: G06F9/44
CPC分类号: G06F8/36 , G06F8/76 , G06F9/44521 , G06F9/44584 , G06F9/45508 , G06F9/4552
摘要: Mechanisms that allow frameworks significant flexibility in varying the library of common base classes in a manner that better suits the domain of applications served by the framework. Instead of providing the base class library, the runtime provides a data contract for the data structure of each base class. The frameworks can then define each base class in a custom way so long as the data contract is honored. Thus, for example, the framework may provide custom framework-specific methods and/or properties as is appropriate for the framework. Another framework might define the base classes in a different way.
摘要翻译: 允许框架在以更好的方式适应框架所服务的应用程序的方式来改变共同基类库的大量灵活性的机制。 运行时不提供基类库,而是为每个基类的数据结构提供数据契约。 只要符合数据合约,框架就可以以自定义的方式定义每个基类。 因此,例如,框架可以提供适合框架的特定于框架的特定方法和/或属性。 另一个框架可能会以不同的方式定义基类。
-
公开(公告)号:US08316357B2
公开(公告)日:2012-11-20
申请号:US12203857
申请日:2008-09-03
申请人: Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Patrick H. Dussud , Simon J. Hall , Rudi Martin , Michael M. Magruder , Andrew Pardoe , Madhusudhan Talluri
发明人: Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Patrick H. Dussud , Simon J. Hall , Rudi Martin , Michael M. Magruder , Andrew Pardoe , Madhusudhan Talluri
IPC分类号: G06F9/45
CPC分类号: G06F9/44557 , G06F8/315 , G06F8/437
摘要: The efficient use of type descriptors with frozen objects. A frozen object might actually include several type descriptors, a primary type descriptor that is canonical according to a set of canonicalization rules, and an auxiliary type descriptor that is not identical to the primary type descriptor. The auxiliary type descriptor may be used to access the canonical type descriptor. When performing an operation, if the auxiliary type descriptor can be used to perform the operation, then that auxiliary type descriptor may be used. If the canonical type descriptor is to be used to perform the operation, the auxiliary type descriptor is used to gain access to the canonical primary type descriptor. The primary type descriptor is then used to perform the operation.
摘要翻译: 类型描述符与冻结对象的有效使用。 一个被冻结的对象实际上可能包含几个类型描述符,根据一组规范化规则是规范的主类型描述符,以及与主类型描述符不相同的辅助类型描述符。 辅助类型描述符可用于访问规范类型描述符。 当执行操作时,如果可以使用辅助类型描述符来执行操作,则可以使用该辅助类型描述符。 如果要使用规范类型描述符来执行操作,则使用辅助类型描述符来访问规范的主类型描述符。 然后使用主类型描述符执行操作。
-
公开(公告)号:US20100058304A1
公开(公告)日:2010-03-04
申请号:US12203857
申请日:2008-09-03
申请人: Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Patrick H. Dussud , Simon J. Hall , Rudi Martin , Michael M. Magruder , Andrew Pardoe , Madhusudhan Talluri
发明人: Scott D. Mosier , Peter F. Sollich , Frank V. Peschel-Gallee , Patrick H. Dussud , Simon J. Hall , Rudi Martin , Michael M. Magruder , Andrew Pardoe , Madhusudhan Talluri
IPC分类号: G06F9/45
CPC分类号: G06F9/44557 , G06F8/315 , G06F8/437
摘要: The efficient use of type descriptors with frozen objects. A frozen object might actually include several type descriptors, a primary type descriptor that is canonical according to a set of canonicalization rules, and an auxiliary type descriptor that is not identical to the primary type descriptor. The auxiliary type descriptor may be used to access the canonical type descriptor. When performing an operation, if the auxiliary type descriptor can be used to perform the operation, then that auxiliary type descriptor may be used. If the canonical type descriptor is to be used to perform the operation, the auxiliary type descriptor is used to gain access to the canonical primary type descriptor. The primary type descriptor is then used to perform the operation.
摘要翻译: 类型描述符与冻结对象的有效使用。 一个被冻结的对象实际上可能包含几个类型描述符,根据一组规范化规则是规范的主类型描述符,以及与主类型描述符不相同的辅助类型描述符。 辅助类型描述符可用于访问规范类型描述符。 当执行操作时,如果可以使用辅助类型描述符来执行操作,则可以使用该辅助类型描述符。 如果要使用规范类型描述符来执行操作,则使用辅助类型描述符来访问规范的主类型描述符。 然后使用主类型描述符执行操作。
-
公开(公告)号:US10346199B2
公开(公告)日:2019-07-09
申请号:US12421649
申请日:2009-04-10
摘要: 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.
-
公开(公告)号:US08782607B2
公开(公告)日:2014-07-15
申请号:US12389373
申请日:2009-02-20
申请人: Melitta L. G. Andersen , Michael Barnett , Manuel A. Fahndrich , Brian M. Grunkemeyer , Katherine E. King , Michael M. Magruder , Andrew J. Pardoe , Kumar Gaurav Khanna
发明人: Melitta L. G. Andersen , Michael Barnett , Manuel A. Fahndrich , Brian M. Grunkemeyer , Katherine E. King , Michael M. Magruder , Andrew J. Pardoe , Kumar Gaurav Khanna
CPC分类号: G06F11/3664 , G06F11/0706 , G06F11/0793 , G06F11/323 , G06F11/3636 , G06F11/3668
摘要: An error handling system is described herein that provides a facility for controlling the behavior of software when the software violates a contract condition. The system provides configurable runtime behavior that takes place when a contract fails. The error handling system provides an event that a hosting application or other software code can register to handle and that the system invokes upon detecting a contract failure. The application's response to the event determines how the system handles the failure. If the event is unhandled, the system triggers an escalation policy that allows an administrator or application to specify how the system handles contract failures. Thus, the error handling system provides increased control over the handling of contract failures within software code.
摘要翻译: 这里描述了一种错误处理系统,其提供了当软件违反合同条件时控制软件的行为的设施。 系统提供在合同失败时发生的可配置的运行时行为。 错误处理系统提供托管应用程序或其他软件代码可以注册以处理的事件,并且系统在检测到合同失败时调用该事件。 应用程序对事件的响应决定系统如何处理故障。 如果事件未被处理,系统将触发升级策略,允许管理员或应用程序指定系统如何处理合同失败。 因此,错误处理系统对软件代码中的合同失败的处理提供了更多的控制。
-
公开(公告)号:US20100287414A1
公开(公告)日:2010-11-11
申请号:US12436175
申请日:2009-05-06
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.
摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。
-
公开(公告)号:US20100218169A1
公开(公告)日:2010-08-26
申请号:US12389373
申请日:2009-02-20
申请人: Melitta L. G. Andersen , Michael Barnett , Manuel A. Fahndrich , Brian M. Grunkemeyer , Katherine E. King , Michael M. Magruder , Andrew J. Pardoe , Kumar Gaurav Khanna
发明人: Melitta L. G. Andersen , Michael Barnett , Manuel A. Fahndrich , Brian M. Grunkemeyer , Katherine E. King , Michael M. Magruder , Andrew J. Pardoe , Kumar Gaurav Khanna
IPC分类号: G06F9/44
CPC分类号: G06F11/3664 , G06F11/0706 , G06F11/0793 , G06F11/323 , G06F11/3636 , G06F11/3668
摘要: An error handling system is described herein that provides a facility for controlling the behavior of software when the software violates a contract condition. The system provides configurable runtime behavior that takes place when a contract fails. The error handling system provides an event that a hosting application or other software code can register to handle and that the system invokes upon detecting a contract failure. The application's response to the event determines how the system handles the failure. If the event is unhandled, the system triggers an escalation policy that allows an administrator or application to specify how the system handles contract failures. Thus, the error handling system provides increased control over the handling of contract failures within software code.
摘要翻译: 本文描述了一种错误处理系统,其提供了当软件违反合同条件时控制软件的行为的设施。 系统提供在合同失败时发生的可配置的运行时行为。 错误处理系统提供托管应用程序或其他软件代码可以注册以处理的事件,并且系统在检测到合同失败时调用该事件。 应用程序对事件的响应决定系统如何处理故障。 如果事件未被处理,系统将触发升级策略,允许管理员或应用程序指定系统如何处理合同失败。 因此,错误处理系统对软件代码中的合同失败的处理提供了更多的控制。
-
公开(公告)号: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.
摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。
-
公开(公告)号: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块,除非开发人员执行额外的步骤来确认异常的区别性质,并确认程序代码准备妥善处理 例外。 属于此类的异常通常是表示正常异常处理实践无法成功恢复的条件,即损坏应用程序状态的异常。 因此,除非开发人员明确请求将这些异常传递给程序代码,否则系统会阻止开发人员默认捕获这些异常类。 因此,异常处理系统通过防止开发人员错误来鼓励正确的编程实践。
-
-
-
-
-
-
-
-
-