自定义异常

  • 简化 / 自定义打印结果
@Override
public synchronized Throwable fillInStackTrace() {
return this;
}

com.demo.test.xxxx.custom.exception.SimpleException: 自定义异常