Method and device for treating abnormal as normal control flow

Application Number: 00107020
Application Date: 2000.04.24
Publication Number: 1271890
Publication Date: 2000.11.01
Priority Information: 1999/4/23 US 09/298354
International: G06F9/45
Applicant(s) Name: Sun Microsystems, Inc.
Address:
Inventor(s) Name: C. N. Kerlek;Jr.;C. A. Vick;M. H. Paretzny
Patent Agency Code: 72001
Patent Agent: wang yong
Abstract Methods and apparatus for handling exceptions as a part of normal program control flow are disclosed. According to one aspect of the present invention, a method for processing an exception in an object-based system includes obtaining source code that includes a code segment which is arranged to explicitly specify instructions pertaining to an exception check. The method also includes creating a final internal representation of the source code at least in part by removing a call associated with the exception check, and generating machine code associated with the final internal representation. In one embodiment, the method further includes executing the machine code.

Leave a Reply