EXCEPTION HANDLING IN JAVA VIRTUAL MACHINE

Exception handling is an important feature of modern programming languages. It offers a strong support for reliable software systems. In this paper the exception handling mechanisms of different programming languages are introduced, and then the exception handling for Java is discussed deeply. Finally, based on a practical work, the design and implementation of Java virtual machine for Chinese Open System COSIX, and the key technologies of how to implement exception handling mechanisms for Java interpreter and just in time compiler are presented in detail.