Patent ID: 7577961
Filing Date: 2009-08-18
Classification: G06F

Abstract:
1. A method of operating a programmed computer system having a microprocessor in communication with a memory having data representing instructions for the microprocessor, the instructions including a called method and one or more nested calling methods, the called and calling methods collectively providing a normal flow of instructions for obtaining a normal processing result stored in the memory, the normal processing result being the first of a plurality of processing results, comprising: establishing distinct first and second exception object types in the memory; in the called method, sending instructions to the microprocessor for: (i) performing an expected function within the normal flow of instructions, (ii) determining if a first result condition exists, and if so then generating a first exception object as an instance of the first exception object type, the first exception object containing the normal processing result, the generating of the first exception object resulting in a return to an immediately preceding one of the calling methods, and (iii) determining if a second result condition distinct from the first result condition exists, and if so then generating a second exception object of the second exception object type, the second exception object containing a second of the processing results, the generating of the second exception object resulting in a return to the immediately preceding calling method; and among the one or more calling methods, sending instructions to the microprocessor for (i) calling the called method, (ii) determining whether an object of the first exception object type has been generated by the called method, and if so then processing the normal processing result from the first exception object, and (iii) determining whether an object of the second exception object type has been generated by the called method, and if so then processing the second processing result from the second exception object; wherein the immediately preceding calling method is operative to: (i) determine whether an object of the first exception object type has been generated by the called method, and if so then process the normal processing result from the first exception object, and (ii) determine whether an object of the second exception object type has been generated by the called method, and if so then process the second processing result from the second exception object.