Customized Java Exception

自定义异常

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

com.demo.test.xxxx.custom.exception.SimpleException: 自定义异常
comments powered by Disqus