mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 12:19:00 +00:00
33 lines
686 B
Java
33 lines
686 B
Java
class SneakyThrowsPlain {
|
|
SneakyThrowsPlain() {
|
|
super();
|
|
try {
|
|
System.out.println("constructor");
|
|
} catch (final java.lang.Throwable $ex) {
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
SneakyThrowsPlain(int x) {
|
|
this();
|
|
try {
|
|
System.out.println("constructor2");
|
|
} catch (final java.lang.Throwable $ex) {
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
public void test() {
|
|
try {
|
|
System.out.println("test1");
|
|
} catch (final java.lang.Throwable $ex) {
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
public void test2() {
|
|
try {
|
|
System.out.println("test2");
|
|
} catch (final java.lang.Throwable $ex) {
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
}
|