Skip to content

Commit dedbd0d

Browse files
author
Douglas Crockford
committed
javadoc
1 parent ae8d12c commit dedbd0d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

JSONException.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ public JSONException(String message) {
2121
}
2222

2323
/**
24-
* Constructs a new JSONException with the specified cause.
24+
* Constructs a new JSONException with the specified cause.
2525
*/
2626
public JSONException(Throwable cause) {
2727
super(cause.getMessage());
2828
this.cause = cause;
2929
}
3030

3131
/**
32-
* Returns the cause of this throwable or null if the cause is nonexistent or unknown.
33-
* @returns the cause of this throwable or null if the cause is nonexistent or unknown.
32+
* Returns the cause of this exception or null if the cause is nonexistent
33+
* or unknown.
34+
*
35+
* @returns the cause of this exception or null if the cause is nonexistent
36+
* or unknown.
3437
*/
3538
public Throwable getCause() {
3639
return this.cause;

0 commit comments

Comments
 (0)