From dedbd0db46d3efd7e51405db4621ff199669cd6e Mon Sep 17 00:00:00 2001 From: Douglas Crockford Date: Tue, 19 Feb 2013 04:50:52 -0800 Subject: [PATCH] javadoc --- JSONException.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/JSONException.java b/JSONException.java index 09250c5..971547e 100755 --- a/JSONException.java +++ b/JSONException.java @@ -21,7 +21,7 @@ public class JSONException extends RuntimeException { } /** - * Constructs a new JSONException with the specified cause. + * Constructs a new JSONException with the specified cause. */ public JSONException(Throwable cause) { super(cause.getMessage()); @@ -29,8 +29,11 @@ public class JSONException extends RuntimeException { } /** - * Returns the cause of this throwable or null if the cause is nonexistent or unknown. - * @returns the cause of this throwable or null if the cause is nonexistent or unknown. + * Returns the cause of this exception or null if the cause is nonexistent + * or unknown. + * + * @returns the cause of this exception or null if the cause is nonexistent + * or unknown. */ public Throwable getCause() { return this.cause;