12345678910111213141516/** * 业务异常基类 */public abstract class BaseBizException extends RuntimeException { public BaseBizException(String message) { super(message); } /** * 覆盖fillInStackTrace()方法,抹掉异常中的堆栈跟踪信息 */ @Override public synchronized Throwable fillInStackTrace() { return this; }}