|
@@ -10,11 +10,12 @@ public class SystemException extends RuntimeException {
|
|
|
this.code = "500";
|
|
this.code = "500";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public SystemException(String code, String message) {
|
|
|
|
|
|
|
+ public SystemException(String message,String data) {
|
|
|
super(message);
|
|
super(message);
|
|
|
- this.code = code;
|
|
|
|
|
|
|
+ this.code = "500";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
// public SystemException(String code, Throwable cause) {
|
|
// public SystemException(String code, Throwable cause) {
|
|
|
// super(message, cause);
|
|
// super(message, cause);
|
|
|
// this.code = code;
|
|
// this.code = code;
|