System and method for dynamic exception handling using an external exception handler
First Claim
1. A method for enabling configurable dynamic exception handling absent support from an operating system and modification of programming language, said method comprising:
- maintaining external exception handlers for desired exceptions, independent of modules raising the exceptions;
maintaining said external exception handlers in at least one exception handler repository;
updating said exception handler repository independent of an execution of said modules raising said exceptions; and
dynamically binding a selected external exception handler to each desired exception based on requirements of an application being serviced by the modules;
wherein the step of dynamically binding is enabled by providing exception handler specifications together with each exception handler, to map required exception handlers with the exceptions in the modules; and
wherein the modules are accessed by the application through an exception handler client wrapper that handles all application requests and processes required exceptions of the module using an exception handler code in said exception handler repository.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and a system for dynamically specifying exceptions and exception handlers for an application written in any computer language, which has exception handling facility, are described. The present decouples the exception handling logic from the application and thereby can be used to alter the behavior of the program/module/application as well as to define new types of exceptions at runtime. The decoupling of the exception handler logic eliminates the language dependence of the application and further helps in customizing the behavior of the application when they are being deployed in new environments. Moreover dynamic exception handling is not operating system dependent.
72 Citations
26 Claims
-
1. A method for enabling configurable dynamic exception handling absent support from an operating system and modification of programming language, said method comprising:
-
maintaining external exception handlers for desired exceptions, independent of modules raising the exceptions; maintaining said external exception handlers in at least one exception handler repository; updating said exception handler repository independent of an execution of said modules raising said exceptions; and dynamically binding a selected external exception handler to each desired exception based on requirements of an application being serviced by the modules; wherein the step of dynamically binding is enabled by providing exception handler specifications together with each exception handler, to map required exception handlers with the exceptions in the modules; and wherein the modules are accessed by the application through an exception handler client wrapper that handles all application requests and processes required exceptions of the module using an exception handler code in said exception handler repository. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for enabling configurable dynamic exception handling absent support from an operating system and modification in programming language, said system comprising:
-
a first device operable for maintaining external exception handlers for desired exceptions, independent of modules raising the exceptions; said first device comprising at least one exception handler repository wherein said first device is adapted to update said exception handler repository independently of an execution of the modules raising the exceptions; and a second device operable for dynamically binding a selected external exception handler to each desired exception based on requirements of an application being serviced by the modules; wherein said second device comprises exception handler specifications together with each exception handler, to map required exception handlers with the exceptions is the modules; and wherein the modules are accessed by the application through an exception handler client wrapper that handles all application requests and processes required exceptions of the module using an exception handler code in said exception handler repository. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A computer program product comprising computer readable program code stored on a computer readable storage medium embodied therein for performing a method for enabling configurable dynamic exception handling absent support from an operating system and absent support from a programming language, said method comprising:
-
maintaining external exception handlers for desired exceptions, independent of modules raising the exceptions; maintaining said external exception handlers in at least one exception handler repository; updating said exception handler repository independent of an execution of said modules raising said exceptions; and dynamically binding a selected external exception handler to each desired exception based on requirements of an application being serviced by the modules; wherein said step of dynamically binding comprises providing exception handler specifications together with each exception handler, to interface between required exception handlers and exception raising modules; and wherein the modules are accessed by the application through an exception handler client wrapper that handles all application requests and processes required exceptions of the module using an exception handler code in said exception handler repository.
-
Specification