aboutsummaryrefslogtreecommitdiff
path: root/website2/templates/disable-checked-exceptions.html
diff options
context:
space:
mode:
Diffstat (limited to 'website2/templates/disable-checked-exceptions.html')
-rw-r--r--website2/templates/disable-checked-exceptions.html24
1 files changed, 0 insertions, 24 deletions
diff --git a/website2/templates/disable-checked-exceptions.html b/website2/templates/disable-checked-exceptions.html
deleted file mode 100644
index 94dd433e..00000000
--- a/website2/templates/disable-checked-exceptions.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="page-header top5">
- <div class="row text-center">
- <h1 class="text-center">Tired of checked exceptions?</h1>
- </div>
- <div class="row">
- <p>
- This lombok spinoff project consists of a hack that only works in javac - not eclipse or any other IDE.<br />
- It will completely disable the notion of checked exceptions. You may throw any exception anywhere, and you may also catch any exception anywhere. In standard javac, you may not catch a checked exception that is not declared as thrown by at least 1 statement in your try block, unless it is <code>Exception</code> or <code>Throwable</code>.<br />
- This restriction is lifted as well.
- </p>
- </div>
- <div class="row">
- <h2 class="text-center">Usage</h2>
-
- <p>
- Just make sure <code>disableCheckedExceptions-alpha.jar</code> is on the classpath as you compile. For example:<br />
- <code>javac -cp disableCheckedExceptions-alpha.jar MySource.java</code>
- </p><p>
- Ready to try it out? download it here: <a href="/downloads/disableCheckedExceptions-alpha.jar">disableCheckedExceptions-alpha.jar</a>
- </p><p>
- Want to know how its done? Grab the lombok repository <a href="https://github.com/rzwitserloot/lombok/tree/disableCheckedExceptions">here on github</a>, and look in the <code>experimental</code> directory.
- </p>
- </div>
-</div>