This commit is contained in:
Dmitry Jemerov
2009-09-10 20:09:11 +04:00
parent 8349aa1889
commit b854be0323
51 changed files with 7 additions and 0 deletions
@@ -0,0 +1,32 @@
class MyException extends Exception{
}
class MyException1 extends Exception{
}
class Test {
void foo () throws MyException1, MyException {
}
void bar () {
try {
foo();
}
catch (MyException e) {}
catch (MyException1 myException1) {}
}
}
class Derived extends Test {
void foo() throws MyException1, MyException {
}
void bar () {
try {
foo();
}
catch (MyException e) {}
catch (MyException1 myException1) {}
}
}