feat: 提交项目代码
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.adc.da.exception;
|
||||
|
||||
public class AdcDaBaseException extends RuntimeException {
|
||||
private String errorCode;
|
||||
|
||||
public AdcDaBaseException() {
|
||||
}
|
||||
|
||||
public AdcDaBaseException(String message) {
|
||||
this("-1", message);
|
||||
}
|
||||
|
||||
public AdcDaBaseException(String errorCode, String message) {
|
||||
super(message);
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public String getErrorCode() {
|
||||
return this.errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(String errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user