mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 19:52:07 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
14 lines
262 B
Java
14 lines
262 B
Java
// "Add exception to method signature" "true-preview"
|
|
|
|
class C {
|
|
interface I { }
|
|
|
|
public void localException() throws Exception {
|
|
|
|
class Ex extends Exception { }
|
|
class LocalException extends Ex implements I { }
|
|
|
|
throw new LocalException();
|
|
}
|
|
}
|