a1exlism
9/20/2019 - 1:36 PM

java_exceptions 打印调用树, js like

public class ThrowException {
  public static void main(String args[]) {
    try {
      process1();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

  static void process1() {
    process2();
  }

  static void process2() {
    Integer.parseInt(null);
  }
}