29 lines · plain
1@interface Exception2@end3@interface OtherException4@end5 6void f() {7 @try {8 Exception *e;9 @throw e;10 }11 @catch (Exception *varname) {12 }13 @finally {14 }15 16 @try {17 }18 @catch (Exception *varname1) {19 @throw;20 }21 @catch (OtherException *varname2) {22 }23 24 @try {25 }26 @finally {27 }28}29