-
公开(公告)号:US08250544B2
公开(公告)日:2012-08-21
申请号:US12043007
申请日:2008-03-05
申请人: Christopher M. McKinsey , Marko Krsta Radmilac , Charles L. Mitchell , Andrew E. Ayers , Louis Lafreniere
发明人: Christopher M. McKinsey , Marko Krsta Radmilac , Charles L. Mitchell , Andrew E. Ayers , Louis Lafreniere
IPC分类号: G06F9/44
CPC分类号: G06F8/443
摘要: Annotation of exception information in a computer program. This annotation is not present in the source code itself, but is annotated during the compilation process or perhaps for purpose of analyzing the code. To perform the annotation, environmental rules are accessed regarding the environment in which the program is to be executed. The program is then evaluated in the context of these environmental rules to detect portions that, in the context of the environmental rules, may cause exceptions to be thrown. Those portions may then be annotated with exception information that describes any exceptions that could be thrown at that detected portion.
摘要翻译: 在计算机程序中注释异常信息。 该注释不存在于源代码本身中,但在编译过程中进行注释,也可能用于分析代码。 要执行注释,请访问有关执行程序的环境的环境规则。 然后在这些环境规则的上下文中对该程序进行评估,以检测在环境规则的上下文中可能引起异常的部分。 然后可以使用描述可能在该检测到的部分处抛出的任何异常的异常信息来注释那些部分。
-
公开(公告)号:US20090228869A1
公开(公告)日:2009-09-10
申请号:US12043007
申请日:2008-03-05
申请人: Christopher M. McKinsey , Marko Krsta Radmilac , Charles L. Mitchell , Andrew E. Ayers , Louis Lafreniere
发明人: Christopher M. McKinsey , Marko Krsta Radmilac , Charles L. Mitchell , Andrew E. Ayers , Louis Lafreniere
IPC分类号: G06F9/44
CPC分类号: G06F8/443
摘要: Annotation of exception information in a computer program. This annotation is not present in the source code itself, but is annotated during the compilation process or perhaps for purpose of analyzing the code. To perform the annotation, environmental rules are accessed regarding the environment in which the program is to be executed. The program is then evaluated in the context of these environmental rules to detect portions that, in the context of the environmental rules, may cause exceptions to be thrown. Those portions may then be annotated with exception information that describes any exceptions that could be thrown at that detected portion.
摘要翻译: 在计算机程序中注释异常信息。 该注释不存在于源代码本身中,但在编译过程中进行注释,也可能用于分析代码。 要执行注释,请访问有关执行程序的环境的环境规则。 然后在这些环境规则的上下文中对该程序进行评估,以检测在环境规则的上下文中可能引起异常的部分。 然后可以使用描述可能在该检测到的部分处抛出的任何异常的异常信息来注释那些部分。
-