mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 11:10:08 +08:00
javadoc
This commit is contained in:
@@ -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) {
|
public JSONException(Throwable cause) {
|
||||||
super(cause.getMessage());
|
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 exception or null if the cause is nonexistent
|
||||||
* @returns the cause of this throwable or null if the cause is nonexistent or unknown.
|
* or unknown.
|
||||||
|
*
|
||||||
|
* @returns the cause of this exception or null if the cause is nonexistent
|
||||||
|
* or unknown.
|
||||||
*/
|
*/
|
||||||
public Throwable getCause() {
|
public Throwable getCause() {
|
||||||
return this.cause;
|
return this.cause;
|
||||||
|
Reference in New Issue
Block a user