goja-core/src/main/java/goja/core/kits/lang/ExceptionKit.java
public static String getStackTraceAsString(Exception e) {
        StringWriter stringWriter = new StringWriter();
        e.printStackTrace(new PrintWriter(stringWriter));
        return stringWriter.toString();
    }
public static String getStackTraceAsString(Exception e) {
        StringWriter stringWriter = new StringWriter();
        e.printStackTrace(new PrintWriter(stringWriter));
        return stringWriter.toString();
    }
public static String getStackTraceAsString ( Exception e ) { StringWriter stringWriter = new StringWriter ( ) ; e . printStackTrace ( new PrintWriter ( stringWriter ) ) ; return stringWriter . toString ( ) ; }
将ErrorStack转化为String.
将ErrorStack转化为String .