Class dec.trek.ExceptionHandlerThe ExceptionHandler object allows you to manipulate the exception handler info of a Method. Method Summary
Methodspublic static ExceptionHandler find(Statement stmt) Returns the ExceptionHandler object for the specified catch or finally statement. Parameters: stmt the catch or finally statement whose handler is to be looked up public Statement getHandlerStatement() Returns the catch (or finally) Statement object associated with this exception handler. public Statement getTryStatement() Returns the try Statement object associated with this exception handler. Returns a string containing the object's raw data: PC of try, PC of end of try, PC of handler, and either the caught exception's name or <finally>. Returns the data type of the exception being handled (eg java.lang.RuntimeException). However for a finally handler, null is returned instead. |