aboutsummaryrefslogtreecommitdiff
path: root/docker/shared/src/main/java/SneakyThrowsExample.java
diff options
context:
space:
mode:
Diffstat (limited to 'docker/shared/src/main/java/SneakyThrowsExample.java')
-rw-r--r--docker/shared/src/main/java/SneakyThrowsExample.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/shared/src/main/java/SneakyThrowsExample.java b/docker/shared/src/main/java/SneakyThrowsExample.java
new file mode 100644
index 00000000..04811bae
--- /dev/null
+++ b/docker/shared/src/main/java/SneakyThrowsExample.java
@@ -0,0 +1,7 @@
+public class SneakyThrowsExample {
+
+ @lombok.SneakyThrows
+ public static void main(String... args) {
+ throw new java.io.IOException("boo");
+ }
+}