mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-01 07:16:39 +00:00
13 lines
340 B
Java
13 lines
340 B
Java
package com.java2nb.common.utils;
|
|
|
|
public class ExceptionUtils {
|
|
public static String getExceptionAllinformation(Exception ex) {
|
|
String sOut = "";
|
|
StackTraceElement[] trace = ex.getStackTrace();
|
|
for (StackTraceElement s : trace) {
|
|
sOut += "\tat " + s + "\r\n";
|
|
}
|
|
return sOut;
|
|
}
|
|
}
|