From ea04b3ff14d5a6cf90a550eeb866aace02964b1d Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 16 Oct 2009 20:10:05 +0200 Subject: The old 'disableCheckedExceptions' branch wasn't a particularly nice distribution/storage model of experimental features. For example, it was hopelessly out of date. Redesigned to a separate experimental directory, along with new build scripts, and rewrite it to the new lombok.patcher model. Unfortunately it doesn't actually work, just yet. Seems to do nothing at all. --- website/disableCheckedExceptions.html | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 website/disableCheckedExceptions.html (limited to 'website/disableCheckedExceptions.html') diff --git a/website/disableCheckedExceptions.html b/website/disableCheckedExceptions.html new file mode 100644 index 00000000..744859d8 --- /dev/null +++ b/website/disableCheckedExceptions.html @@ -0,0 +1,60 @@ + + + + + + + Project Lombok side projects - Disable checked Exceptions + + +
+

Tired of checked exceptions?

+

+ This lombok spinoff project consists of a hack that only works in javac - not eclipse or any other IDE.
+ 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 Exception or Throwable.
+ This restriction is lifted as well. +

+

Usage

+

+ Just make sure disableCheckedExceptions-alpha.jar is on the classpath as you compile. For example:
+ javac -cp disableCheckedExceptions-alpha.jar MySource.java +

+

+ Ready to try it out? download it here: disableCheckedExceptions-alpha.jar +

+

+ Want to know how its done? Grab the disableCheckedExceptions branch of project lombok. You can browse and download the branch here on github. +

+ +
+ + + -- cgit