From 8534a8e0a552f21ad6479e94fad8db36e67d44d5 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 6 Jul 2009 06:08:05 +0200 Subject: Fixed javadoc problems, and added a javadoc target to the build script. --- src/lombok/Lombok.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lombok/Lombok.java') diff --git a/src/lombok/Lombok.java b/src/lombok/Lombok.java index 400bf3ea..9656b7fd 100644 --- a/src/lombok/Lombok.java +++ b/src/lombok/Lombok.java @@ -28,17 +28,17 @@ public class Lombok { /** * Throws any throwable 'sneakily' - you don't need to catch it, nor declare that you throw it onwards. * The exception is still thrown - javac will just stop whining about it. - * + *

* Example usage: - * + *

*

public void run() {
 	 *     throw sneakyThrow(new IOException("You don't need to catch me!"));
 	 * }
- * + *

* NB: The exception is not wrapped, ignored, swallowed, or redefined. The JVM actually does not know or care * about the concept of a 'checked exception'. All this method does is hide the act of throwing a checked exception * from the java compiler. - * + *

* Note that this method has a return type of RuntimeException it is advised you always call this * method as argument to the throw statement to avoid compiler errors regarding no return * statement and similar problems. This method won't of course return an actual RuntimeException - -- cgit