mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
14 lines
252 B
Java
14 lines
252 B
Java
// "Add exception to method signature" "true-preview"
|
|
|
|
class C {
|
|
interface I { }
|
|
|
|
public void localException() {
|
|
|
|
class Ex extends Exception { }
|
|
class LocalException extends Ex implements I { }
|
|
|
|
throw new LocalE<caret>xception();
|
|
}
|
|
}
|