1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00
This commit is contained in:
Douglas Crockford 2013-02-19 04:50:52 -08:00
parent ae8d12c5f4
commit dedbd0db46

View file

@ -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;