mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
20 lines
424 B
Java
20 lines
424 B
Java
import lombok.SneakyThrows;
|
|
public class SneakyThrowsInInitializer {
|
|
public static final Runnable R = new Runnable() {
|
|
public @Override @SneakyThrows void run() {
|
|
try
|
|
{
|
|
System.out.println("test");
|
|
}
|
|
catch (final java.lang.Throwable $ex)
|
|
{
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
};
|
|
<clinit>() {
|
|
}
|
|
public SneakyThrowsInInitializer() {
|
|
}
|
|
}
|