System and method for exception handling in dynamically linked p

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395704, G06F 945

Patent

active

057615136

ABSTRACT:
A compiler requires normal exceptions that are throwable by a method to be either explicitly declared or else "caught" by appropriate exception handlers in the method to be compiled. This ensures that all normal exceptions thrown will be handled by a programmer specified exception handler. The compiler inspects all instructions in a specified method that throw exceptions and all instructions that invoke other methods, and determines whether each type of exception throwable by those instructions and invocable methods is (A) a serious exception (i.e., not a normal exception), (B) is caught by an enclosing exception handler, or (C) is explicitly declared in the method header of the specified method. If any throwable exception cannot be so categorized, that means the throwable exception is a normal exception that is not caught by an enclosing exception and is not explicitly declared in the method header, which means that the method to be compiled is not well formed. As a result, the compiler rejects the specified method, aborting compilation and generating an appropriate error message. The compiler determines the set of throwable exceptions in part by inspecting the methods that are invocable by the specified method for declarations of throwable exceptions. When initiating execution of the specified method, the program execution system inspects the method's declaration of throwable exceptions and blocks execution of the specified method unless exception handlers have been established for handling all the exceptions, if any, included in the declaration.

REFERENCES:
patent: 5347632 (1994-09-01), Filepp et al.
patent: 5628016 (1997-05-01), Kukol
"Exception Handling in C++ Without Language Extension", Wong R.S.K. et al., Proc. of TENCON '93, pp. 411-414.
"Improving Exception Handling with Object-Oriented Programming", Dony G., COMPSAC Proceedings, 1990, pp. 36-42.
"Data-Oriented Exception Handling in Ada", Qian Cui et al., IEEE 1990, pp. 98-106.
Ken Thompson, "Regular Expression Search Algorithm," Communications of the ACM, Jun. 1968, vol. 11, No. 6, pp. 419-422.
Kin-Man Chung and Herbert Yuen, "A `Tiny` Pascal Compiler; Part 1: The P-Code Interpreter," BYTE Publications, Inc., Sep. 1978.
Kin-Man Chung and Herbert Yuen, "A `Tiny` Pascal Compiler; Part 2: The P-Compiler," BYTE Publications, Inc., Oct. 1978.
Gene McDaniel, "An Analysis of a Mesa Instruction Set," Association for Computing Machinery, May 1982.
Kenneth A. Pier, "A Retrospective on the Dorado, A High-Performance Personal Computer," IEEE Computer Society, 10th Annual Intl. Symposium on Computer Architecture, 1983, pp. 252-269.
James G. Mitchell, et al., "Mesa Language Manual," Xerox Corporation, Palo Alto Research Center.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System and method for exception handling in dynamically linked p does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for exception handling in dynamically linked p, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for exception handling in dynamically linked p will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1472807

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.