![JAR search and dependency download from the Maven repository](/logo.png)
cn.dyaoming.errors.AppParamException Maven / Gradle / Ivy
package cn.dyaoming.errors;
/**
*
* 系统数据访问层异常
*
*
* @author DYAOMING
* @version 0.0.3
* @since 2020-01-29
*/
public class AppParamException extends BaseException {
private static final long serialVersionUID = 4077571693836525234L;
/**
*
* 构造函数
*
*
* @param message String类型 异常信息
*/
public AppParamException(String message) {
super(message);
}
/**
*
* 构造函数
*
*
* @param code String类型 异常标识
* @param message String类型 异常信息
*/
public AppParamException(String code, String message) {
super(message);
setCode(code);
}
/**
*
* 构造函数
*
*
* @param message String类型 异常信息
* @param cause 异常
*/
public AppParamException(String message, Throwable cause) {
super(message, cause);
}
/**
*
* 构造函数
*
*
* @param code String类型 异常标识
* @param message String类型 异常信息
* @param cause Throwable类型 异常
*/
public AppParamException(String code, String message, Throwable cause) {
super(message, cause);
setCode(code);
}
/**
*
* 构造函数
*
*
* @param cause String类型 异常
*/
public AppParamException(Throwable cause) {
super(cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy