chore: 去掉不用的方法
This commit is contained in:
parent
7a8b8677bd
commit
dff51e3d6e
|
@ -21,11 +21,6 @@ public class MSException extends RuntimeException {
|
||||||
this.errorCode = errorCode;
|
this.errorCode = errorCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void throwException(IResultCode errorCode, String message) {
|
|
||||||
throw new MSException(errorCode, message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public MSException(IResultCode errorCode, Throwable t) {
|
public MSException(IResultCode errorCode, Throwable t) {
|
||||||
super(t);
|
super(t);
|
||||||
this.errorCode = errorCode;
|
this.errorCode = errorCode;
|
||||||
|
|
Loading…
Reference in New Issue