aboutsummaryrefslogtreecommitdiff
path: root/website/templates/disable-checked-exceptions.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:13:47 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:15:32 +0200
commitb351b2af2c3996d0cb9e4c6377b9bcd3789ff199 (patch)
treed22c67d6f86106e0ff3ce1284e1c100eff9a615a /website/templates/disable-checked-exceptions.html
parent5edb6ce5e10d40572a6a760902a415264c9a485e (diff)
downloadlombok-b351b2af2c3996d0cb9e4c6377b9bcd3789ff199.tar.gz
lombok-b351b2af2c3996d0cb9e4c6377b9bcd3789ff199.tar.bz2
lombok-b351b2af2c3996d0cb9e4c6377b9bcd3789ff199.zip
Added a ‘contributing’ page.
Diffstat (limited to 'website/templates/disable-checked-exceptions.html')
-rw-r--r--website/templates/disable-checked-exceptions.html48
1 files changed, 26 insertions, 22 deletions
diff --git a/website/templates/disable-checked-exceptions.html b/website/templates/disable-checked-exceptions.html
index 94dd433e..ccbd0c01 100644
--- a/website/templates/disable-checked-exceptions.html
+++ b/website/templates/disable-checked-exceptions.html
@@ -1,24 +1,28 @@
-<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>
+<#import "/_scaffold.html" as main>
- <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>
+<@main.scaffold>
+ <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>
-</div>
+</@main.scaffold>