
com.huaweicloud.dws.client.exception.InvalidException Maven / Gradle / Ivy
package com.huaweicloud.dws.client.exception;
import lombok.Getter;
/**
* @ProjectName: dws-connector
* @ClassName: InvalidException
* @Description: 无效时异常:用于参数请求不符合校验等
* @Date: 2022/12/22 11:34
* @Version: 1.0
*/
@Getter
public class InvalidException extends RuntimeException {
private final ExceptionCode code;
public InvalidException(Throwable e) {
super(e);
this.code = ExceptionCode.INVALID_CONFIG;
}
public InvalidException(String message) {
super(message);
this.code = ExceptionCode.INVALID_CONFIG;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy