CSC/ECE 517 Fall 2009/wiki1b 3 b4

From Expertiza_Wiki
Revision as of 02:43, 19 September 2009 by Zwang6 (talk | contribs)
Jump to navigation Jump to search

Exception-Handling in O-O language

When an error occurs within a method, the method creates an object and hand it off to the runtime system. The object, called an exception object, contains information about the error, including its type and the state of the program when the error occurred. Creating an exception object and handing it to the runtime system is calling throwing an exception.