aboutsummaryrefslogtreecommitdiff
path: root/website2/usageExamples/SneakyThrowsExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website2/usageExamples/SneakyThrowsExample_pre.jpage')
-rw-r--r--website2/usageExamples/SneakyThrowsExample_pre.jpage13
1 files changed, 0 insertions, 13 deletions
diff --git a/website2/usageExamples/SneakyThrowsExample_pre.jpage b/website2/usageExamples/SneakyThrowsExample_pre.jpage
deleted file mode 100644
index be6d72d5..00000000
--- a/website2/usageExamples/SneakyThrowsExample_pre.jpage
+++ /dev/null
@@ -1,13 +0,0 @@
-import lombok.SneakyThrows;
-
-public class SneakyThrowsExample implements Runnable {
- @SneakyThrows(UnsupportedEncodingException.class)
- public String utf8ToString(byte[] bytes) {
- return new String(bytes, "UTF-8");
- }
-
- @SneakyThrows
- public void run() {
- throw new Throwable();
- }
-}