java highlighting tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:38 +04:00
parent 7ec040c1ec
commit 735a9d17a8
243 changed files with 22082 additions and 0 deletions
@@ -0,0 +1,32 @@
// exception java.lang.Exception has already been caught/ illegal catch type
import java.io.EOFException;
import java.io.IOException;
class Foo {
void f() {
try {
} catch (Throwable t) {
} catch (<error descr="Exception 'java.lang.Exception' has already been caught">Exception</error> e) {
}
try {
} catch (RuntimeException e) {
} catch (<error descr="Exception 'java.lang.NullPointerException' has already been caught">NullPointerException</error> e) {
}
try {
throw new EOFException();
} catch (IOException e) {
} catch (<error descr="Exception 'java.io.EOFException' has already been caught">EOFException</error> e) {
}
try {
}
catch (Exception e) {
}
catch (<error descr="Exception 'java.lang.Exception' has already been caught">Exception</error> e) {
}
}
}