Patent ID: 6738976
Filing Date: 2004-05-18
Classification: G06F

Abstract:
A method in a computer system for minimizing handling of an exception in said computer system, said computer system including computer-readable code, said code being included in a caller and a callee that execute said code on said computer system, said method comprising:invoking said callee by said caller; identifying said caller selectively as a native method and an interpreted method of said computer-readable code; treating said caller as a compiled method of said computer-readable code wherein said caller is selectively a compiled method and not a compiled method, thereby enabling said callee to efficiently return to said code of said caller; executing said callee and thereupon encountering said exception; when said callee cannot handle said exception: returning to said code of said caller that handles said exception thereby minimizing handling of said exception by said caller; and when said callee can handle said exception: handling said exception by said callee; and returning to said code of said caller that continues normal execution of said code of said caller thereby minimizing handling of said exception by said caller.