版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/fan380485838/article/details/89134421
import java.lang.Exception;
需要跟踪的地方打印:
Exception e = new Exception("trace");
e.printStackTrace();
import java.lang.Exception;
需要跟踪的地方打印:
Exception e = new Exception("trace");
e.printStackTrace();