e.printStackTrace(); 和 System.out.println(e); 有什么区别? System.out.println(e); 输出 e 的 String 表达 e.printStackTrace(); 输出 e 的栈轨迹,显式更深层的内容。