aboutsummaryrefslogtreecommitdiff
path: root/website-old/disableCheckedExceptions.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-05-08 21:28:02 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:02:54 +0200
commit8b7a7cbc813653a3248d6cf3a7779e220957bc85 (patch)
treeb9acfb9d68c6866acc3cfb9ee59d72ff43f1ebc3 /website-old/disableCheckedExceptions.html
parent72fd50b9f1db1ab6bfc1753ba6a1e686a2f0f22c (diff)
downloadlombok-8b7a7cbc813653a3248d6cf3a7779e220957bc85.tar.gz
lombok-8b7a7cbc813653a3248d6cf3a7779e220957bc85.tar.bz2
lombok-8b7a7cbc813653a3248d6cf3a7779e220957bc85.zip
The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’.
Diffstat (limited to 'website-old/disableCheckedExceptions.html')
-rw-r--r--website-old/disableCheckedExceptions.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/website-old/disableCheckedExceptions.html b/website-old/disableCheckedExceptions.html
new file mode 100644
index 00000000..64ad1cd8
--- /dev/null
+++ b/website-old/disableCheckedExceptions.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" type="text/css" href="logi/reset.css" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <meta name="description" content="Spice up your java" />
+ <title>Project Lombok side projects - Disable checked Exceptions</title>
+ <style type="text/css">
+ code {
+ font-size: 12px;
+ font-family: monospaced;
+ }
+
+ .meat {
+ margin: 16px auto 0 auto;
+ width: 800px;
+ }
+
+ .backLink {
+ padding-top: 100px;
+ width: 100%;
+ text-align: right;
+ }
+ </style>
+</head><body>
+ <div class="meat">
+ <h1>Tired of checked exceptions?</h1>
+ <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>
+ <h3>Usage</h3>
+ <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 class="backLink">
+ <a href="index.html">back to the project homepage</a>
+ </div>
+ </div>
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-9884254-1");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+</body></html>