Files
foton-slrs-system-rest/adc-da-base/src/main/java/com/adc/da/exception/AdcDaBaseException.java
T
2021-05-31 14:56:05 +08:00

25 lines
544 B
Java

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;
}
}