All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.obatis.core.exception.HandleException Maven / Gradle / Ivy

There is a newer version: 3.0.1-release
Show newest version
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