摘要: 如何优雅地抛 Exception ,细节很关键。 准备工作 定义了一个工具类,用来抛异常 public class SomeUtils { public static void service() throws Exception{ throw new InvalidClassException(" 阅读全文
posted @ 2020-12-28 16:14 MaxStack 阅读(179) 评论(0) 推荐(0) 编辑