版本更新至:3.76
调整:开发框架改为 Gradle 新增:Language2 工具新增 [book] 类型
This commit is contained in:
21
src/main/java/me/skymc/taboolib/json/JSONException.java
Normal file
21
src/main/java/me/skymc/taboolib/json/JSONException.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package me.skymc.taboolib.json;
|
||||
|
||||
|
||||
public class JSONException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 0;
|
||||
private Throwable cause;
|
||||
|
||||
public JSONException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public JSONException(Throwable cause) {
|
||||
super(cause.getMessage());
|
||||
this.cause = cause;
|
||||
}
|
||||
|
||||
public Throwable getCause() {
|
||||
return this.cause;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user