mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java highlighting tests moved to community
This commit is contained in:
@@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user