com.obatis.core.exception.HandleException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obatis-web Show documentation
Show all versions of obatis-web Show documentation
obatis-web, apply web project
package com.obatis.core.exception;
/**
* 自定义公共异常类
* @author HuangLongPu
*/
public class HandleException extends RuntimeException {
/**
* 错误提示码
*/
private String errorCode = null;
public HandleException(String message) {
super(message);
}
public HandleException(String errCode, String message) {
super(message);
this.errorCode = errCode;
}
public String getErrCode() {
return errorCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy