mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
31 lines
459 B
Java
31 lines
459 B
Java
import java.io.*;
|
|
|
|
|
|
////////////
|
|
class x {
|
|
void f() {
|
|
try {
|
|
int i = 0;
|
|
}
|
|
catch (<error descr="Exception 'java.io.IOException' is never thrown in the corresponding try block">IOException e</error>) {
|
|
}
|
|
}
|
|
}
|
|
//////////////////
|
|
class A {
|
|
private void a() {
|
|
}
|
|
}
|
|
|
|
class B extends A {
|
|
void a() throws InterruptedException {
|
|
}
|
|
|
|
void b() {
|
|
try {
|
|
a();
|
|
} catch (InterruptedException e) {
|
|
// IDEA-207296
|
|
}
|
|
}
|
|
} |