mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-20 07:02:43 +07:00
19 lines
281 B
Java
19 lines
281 B
Java
class Test {
|
|
|
|
public static void main(String[] args){
|
|
try {
|
|
I i = ExceptionTest::foo;
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
class Ex extends Exception {}
|
|
|
|
static void foo() throws Ex {}
|
|
|
|
interface I {
|
|
void f();
|
|
}
|
|
}
|