1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* 业务异常基类
*/
public abstract class BaseBizException extends RuntimeException {
public BaseBizException(String message) {
super(message);
}

/**
* 覆盖fillInStackTrace()方法,抹掉异常中的堆栈跟踪信息
*/
@Override
public synchronized Throwable fillInStackTrace() {
return this;
}
}