Files
openide/java/java-tests/testData/refactoring/changeSignature/ReorderExceptions.java
Dmitry Jemerov b854be0323 test++
2009-09-10 20:09:11 +04:00

34 lines
554 B
Java

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) {}
}
}