blob: d492b54f22699db3a39d2cb9da2aa479e97a7bbb [file] [log] [blame]
class MyException extends Exception{
}
class MyException1 extends Exception{
}
class Test {
void foo<caret> () throws MyException,
MyException1 {
}
void bar () {
try {
foo();
}
catch (MyException e) {}
catch (MyException1 myException1) {}
}
}
class Derived extends Test {
void foo() throws MyException,
MyException1 {
}
void bar () {
try {
foo();
}
catch (MyException e) {}
catch (MyException1 myException1) {}
}
}