mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
20 lines
352 B
Java
20 lines
352 B
Java
import lombok.Getter;
|
|
|
|
public class A {
|
|
@Getter
|
|
private String s;
|
|
|
|
private static class B extends A {
|
|
@Override
|
|
public String getS() {
|
|
throw new RuntimeException();
|
|
}
|
|
}
|
|
|
|
private static class C extends B {
|
|
@Override
|
|
public String getS() throws RuntimeException {
|
|
throw new Runtime<caret>Exception();
|
|
}
|
|
}
|
|
} |