Fault discovery and selection apparatus and method
First Claim
Patent Images
1. A computer readable storage medium having a computer usable program encoded thereon executable to convert exceptions to business fault objects, the operations of the computer usable program comprising:
- receiving an exception from a source system, the source system comprising a source system programming model;
determining a fault name on a target system, the fault name corresponding to the exception, the target system comprising a target system programming model independent of the source system programming model;
generating fault data descriptions based on the determined fault name;
finding a fault binding on the target system corresponding to the determined fault name;
utilizing the fault binding to generate fault objects compatible with the target system programming model;
converting the fault objects to business fault objects compatible with the target system programming model; and
returning the business fault objects to a user.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are disclosed for discovering and selecting faults where more than one programming model is involved. The present invention enables selection of faults and the mappings necessary to handle exceptions across multiple code environments.
-
Citations
9 Claims
-
1. A computer readable storage medium having a computer usable program encoded thereon executable to convert exceptions to business fault objects, the operations of the computer usable program comprising:
-
receiving an exception from a source system, the source system comprising a source system programming model; determining a fault name on a target system, the fault name corresponding to the exception, the target system comprising a target system programming model independent of the source system programming model; generating fault data descriptions based on the determined fault name; finding a fault binding on the target system corresponding to the determined fault name; utilizing the fault binding to generate fault objects compatible with the target system programming model; converting the fault objects to business fault objects compatible with the target system programming model; and returning the business fault objects to a user. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus to convert exceptions to business fault objects, the apparatus comprising:
-
a processor; a memory, the memory comprising an exception generation module configured to throw an exception on a source system, the source system comprising a source system programming model; a discovery module configured to include a fault selector module, a data binding module, and a fault data description module; the fault selector module configured to determine one or more fault names on a target system, the one or more fault names corresponding to the exception on the source system, the target system comprising a target system programming model independent of the source system programming model; the data binding module configured to select and implement a fault binding for the determined fault names; the fault data description module configured to set an output format of fault data; and a business fault object generation module configured to combine data and fault information into a business fault object. - View Dependent Claims (8, 9)
-
Specification