GISSupport/src/main/java/com/gis3c/common/exception/BusinessException.java
hukekuan@163.com 8a450864b8 初始化
2018-03-12 11:27:28 +08:00

47 lines
1.1 KiB
Java

package com.gis3c.common.exception;
/**
* Created by hukekuan on 2018/1/29.
*/
public class BusinessException extends RuntimeException {
private static final long serialVersionUID = 1L;
private Integer exceptionCode;
public BusinessException(){
super();
}
public BusinessException(String message) {
super(message);
}
public BusinessException(Throwable cause) {
super(cause);
}
public BusinessException(String message, Throwable cause) {
super(message, cause);
}
public BusinessException(Integer exceptionCode){
super();
this.exceptionCode = exceptionCode;
}
public BusinessException(String message,Integer exceptionCode) {
super(message);
this.exceptionCode = exceptionCode;
}
public BusinessException(Throwable cause,Integer exceptionCode) {
super(cause);
this.exceptionCode = exceptionCode;
}
public BusinessException(String message, Throwable cause,Integer exceptionCode) {
super(message, cause);
this.exceptionCode = exceptionCode;
}
}