1 |
method1 {
-
try {
-
call method2;
-
} catch (Exception3 e) {
-
doErrorProcessing(e);
-
}
|
2 |
}
|
3 |
method2 throws Exception3 {
-
call method3; // method2 just passes exception through
|
4 |
}
|
5 |
method3 throws Exception3 {
-
call dividebyzeroorreadfileorsomething; // create exception
|
6 |
}
|