Concurrent handling of exceptions in received aggregate exception structure with supplied exception handlers and marking handled exceptions
First Claim
1. A computer-readable medium having computer-executable instructions for causing a computer to perform steps, the computer-executable instructions comprising:
- first computer-executable instructions that cause the computer to aggregate multiple exceptions into an aggregate exception structure;
second computer-executable instructions that cause the computer to receive exception results comprising the aggregate exception structure;
third computer-executable instructions that cause the computer to supply one or more exception handler functions;
fourth computer-executable instructions that cause the computer to, for each respective exception in the exception results, determine if the respective exception is one of a kind of exceptions handled by the one or more exception handler functions; and
fifth computer-executable instructions that cause the computer to, if the respective exception is one of the kind handled by the exception handler functions, run a particular handler of the exception handler functions and mark the respective exception as handled.
1 Assignment
0 Petitions
Accused Products
Abstract
Various technologies and techniques are disclosed for providing concurrent exception handling. When one or more exceptions are received from concurrent workers, one or more exception handler functions are supplied. For each respective exception in the exception results, determine if the respective exception is one of a kind of exceptions handled by the one or more exception handler functions. If the respective exception is one of a kind handled by the exception handler functions, then run a particular handler of the exception handler functions and mark the respective exception as handled. Any unhandled exceptions are then processed appropriately. In one implementation, a collection of input data is processed to produce a collection of output results, with the exceptions being interleaved with other output results. In another implementation, a particular exception is selected that represents the multiple exceptions. The selected one particular exception is then thrown.
39 Citations
18 Claims
-
1. A computer-readable medium having computer-executable instructions for causing a computer to perform steps, the computer-executable instructions comprising:
-
first computer-executable instructions that cause the computer to aggregate multiple exceptions into an aggregate exception structure; second computer-executable instructions that cause the computer to receive exception results comprising the aggregate exception structure; third computer-executable instructions that cause the computer to supply one or more exception handler functions; fourth computer-executable instructions that cause the computer to, for each respective exception in the exception results, determine if the respective exception is one of a kind of exceptions handled by the one or more exception handler functions; and fifth computer-executable instructions that cause the computer to, if the respective exception is one of the kind handled by the exception handler functions, run a particular handler of the exception handler functions and mark the respective exception as handled. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for handling multiple exceptions once gathered in the aggregate comprising at least the following steps implemented by at least one computer:
-
aggregating multiple exceptions into an aggregate exception structure; receiving exception results comprising the aggregate exception structure; supplying one or more exception handler functions; for each respective exception in the exception results, determining if the respective exception is one of a kind of exceptions handled by the one or more exception handler functions; and if the respective exception is one of the kind handled by the exception handler functions, then running a particular handler of the exception handler functions and marking the respective exception as handled. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computing device, comprising:
-
a processing unit; and storage that stores an application program configured to be executed by the processing unit to aggregate multiple exceptions into an aggregate exception structure, receive exception results comprising the aggregate exception structure, supply one or more exception handler functions, for each respective exception in the exception results, determine if the respective exception is one of a kind of exceptions handled by the one or more exception handler functions, and if the respective exception is one of the kind handled by the exception handler functions, run a particular handler of the exception handler functions and mark the respective exception as handled. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification