Open error-handling system
First Claim
1. In a computer system including one or more processors and system memory, a method of providing unified and configurable error resolution for one or more components executing at the computer system, the method comprising:
- storing a global list of errors of various types that may occur while any of the one or more components are executing;
storing a plurality of error handlers at an error handler module, each of which define operations configured to resolve error types stored in said global list;
storing a plurality of policies at a life time module, each policy specifying actions for error removal;
each of the one or more components performing the following;
defining its own error types and adding the defined error types to said global list;
defining its own error handlers and adding the defined error handlers to said error handler module;
defining one or more polices for its own defined error types and adding the defined policies to said life time module;
generating at a template generator a plurality of error resolution templates by performing the following;
accessing error types stored at said global list;
accessing error handlers from said error handler module;
accessing polices from said life time module;
associating at least one accessed policy and at least one error handler with each accessed error type, and then storing each accessed error type with the associated error handler and policy in a separate error resolution template;
during execution of the one or more components, identifying first and second error types;
identifying from the plurality of error resolution templates at the template generator a first error resolution template configured to resolve the first error type and associating the first error type with the first error resolution template;
in the event an error resolution template cannot be identified for the second error type, submitting a new error resolution template which includes at least one error handler configured to resolve the second error type to the template generator and adding it to the plurality of error resolution templates to thereby extend the error resolution capabilities of the template generator; and
thereafter associating the second error type with the new error resolution template, to resolve the second error type.
2 Assignments
0 Petitions
Accused Products
Abstract
The embodiments disclosed herein extend to methods, systems, and computer program products for error resolution in a computing system that includes a health module. The health module monitors components of the system for runtime errors and provides error resolution templates. The error resolution templates include metadata that specifies actions that may resolve the error and error handlers corresponding to the actions that may correct the error. The system may be extended by the addition and/or modification of the error resolution templates. The error resolution templates may also be used to facilitate the correction of runtime errors in the system.
23 Citations
15 Claims
-
1. In a computer system including one or more processors and system memory, a method of providing unified and configurable error resolution for one or more components executing at the computer system, the method comprising:
-
storing a global list of errors of various types that may occur while any of the one or more components are executing; storing a plurality of error handlers at an error handler module, each of which define operations configured to resolve error types stored in said global list; storing a plurality of policies at a life time module, each policy specifying actions for error removal; each of the one or more components performing the following; defining its own error types and adding the defined error types to said global list; defining its own error handlers and adding the defined error handlers to said error handler module; defining one or more polices for its own defined error types and adding the defined policies to said life time module; generating at a template generator a plurality of error resolution templates by performing the following; accessing error types stored at said global list; accessing error handlers from said error handler module; accessing polices from said life time module; associating at least one accessed policy and at least one error handler with each accessed error type, and then storing each accessed error type with the associated error handler and policy in a separate error resolution template; during execution of the one or more components, identifying first and second error types; identifying from the plurality of error resolution templates at the template generator a first error resolution template configured to resolve the first error type and associating the first error type with the first error resolution template; in the event an error resolution template cannot be identified for the second error type, submitting a new error resolution template which includes at least one error handler configured to resolve the second error type to the template generator and adding it to the plurality of error resolution templates to thereby extend the error resolution capabilities of the template generator; and thereafter associating the second error type with the new error resolution template, to resolve the second error type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a computer system including one or more processors and system memory, a method of providing unified and configurable error resolution for one or more components executing at the computer system, the method comprising:
-
storing a global list of errors of various types that may occur while any of the one or more components are executing; storing a plurality of error handlers at an error handler module, each of which define operations configured to resolve error types stored in said global list; storing a plurality of policies at a life time module, each policy specifying actions for error removal; each of the one or more components performing the following; defining its own error types and adding the defined error types to said global list; defining its own error handlers and adding the defined error handlers to said error handler module; defining one or more polices for its own defined error types and adding the defined policies to said life time module; removing at least one or more of (i) an error type from the global list, (ii) an error handler from the error handler module, or (iii) a policy from the life time module; generating at a template generator a plurality of error resolution templates by performing the following; accessing error types stored at said global list; accessing error handlers from said error handler module; accessing polices from said life time module; associating at least one accessed policy and at least one error handler with each accessed error type, and then storing each accessed error type with the associated error handler and policy in a separate error resolution template, each error resolution template further including a unique identifier used when mapping an error type to the error resolution template, description metadata that defines the error type and resolution actions to be taken for the error type; during execution of the one or more components, identifying an error type; identifying from the plurality of error resolution templates at the template generator an error resolution template configured to resolve the error type and associating the error type with the error resolution template; based on the error resolution template identified for the error type, providing at a user interface at least one possible resolution action for resolving the error, the at least one resolution action including at least a part of the description metadata for the error type such that a user may implement the resolution action; and implement the resolution actions in the identified error resolution template to cause the execution of at least one error handlers associated with the identified error resolution template. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. In a computer system including one or more processors and system memory, a computer program product comprised of physical storage media containing computer-executable instructions for implementing at the computer system a method of providing unified and configurable error resolution for one or more components executing at the computer system, the method comprising:
storing a global list of errors of various types that may occur while any of the one or more components are executing; storing a plurality of error handlers at an error handler module, each of which define operations configured to resolve error types stored in said global list; storing a plurality of policies at a life time module, each policy specifying actions for error removal; each of the one or more components performing the following; defining its own error types and adding the defined error types to said global list, defining its own error handlers and adding the defined error handlers to said error handler module; defining one or more polices for its own defined error types and adding the defined policies to said life time module; generating at a template generator a plurality of error resolution templates by performing the following; accessing error types stored at said global list, accessing error handlers from said error handler module, accessing polices from said life time module; associating at least one accessed policy and at least one error handler with each accessed error type, and then storing each accessed error type with the associated error handler and policy in a separate error resolution template; during execution of the one or more components, identifying first and second error types; identifying from the plurality of error resolution templates at the template generator a first error resolution template configured to resolve the first error type and associating the first error type with the first error resolution template; in the event an error resolution template cannot be identified for the second error type, submitting a new error resolution template which includes at least one error handler configured to resolve the second error type to the template generator and adding it to the plurality of error resolution templates to thereby extend the error resolution capabilities of the template generator; and thereafter associating the second error type with the new error resolution template, to resolve the second error type.
Specification