|
|
When an exception is thrown, control is transferred from the code that caused the exception to the nearest dynamically-enclosing catch clause of a try statement that handles the exception.
Syntax:
try
{
statement sequence
}
The exception can be thrown and caught in the same try block if necessary.
try
{
f();
}
catch (Exception e) {
throw e;
}
|
|
Created by
unroff,
java2html &
& hp-tools.
© by csfac. All Rights Reserved (2010).
It is not allowed to print these pages on a CAST printer.
Last modified: 01/April/10 (17:16)