Files
openide/plugins/lombok/testData/after/SneakyThrowsSingle.java
Michail Plushnikov 5df26b4b2e updated expected tests
GitOrigin-RevId: 2d8405a4a852ac2a1c3c40f3e0948bffcb2152cd
2019-10-03 14:42:57 +03:00

32 lines
612 B
Java

// Generated by delombok at Wed Oct 02 19:12:43 GMT 2019
import java.io.IOException;
class SneakyThrowsSingle {
public void test() {
try {
System.out.println("test1");
} catch (final Throwable $ex) {
throw lombok.Lombok.sneakyThrow($ex);
}
}
public void test2() {
try {
System.out.println("test2");
throw new IOException();
} catch (final IOException $ex) {
throw lombok.Lombok.sneakyThrow($ex);
}
}
public void test3() {
try {
System.out.println("test3");
throw new IOException();
} catch (final IOException $ex) {
throw lombok.Lombok.sneakyThrow($ex);
}
}
}