public class ExceptionUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LINE_DELIMITER |
static java.lang.String |
SKIP_TRACE_MARKER |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getStackTrace(java.lang.Throwable throwable,
java.lang.Throwable baseThrowable)
Get stack trace of the throwable excluding the stack trace of the base throwable.
|
static java.lang.String |
getStackTrace(java.lang.Throwable throwable,
java.lang.Throwable baseThrowable,
boolean preserveCause)
Get stack trace of the throwable excluding the stack trace of the base throwable.
|
public static final java.lang.String SKIP_TRACE_MARKER
public static final java.lang.String LINE_DELIMITER
public static java.lang.String getStackTrace(java.lang.Throwable throwable,
java.lang.Throwable baseThrowable,
boolean preserveCause)
throwable - Throwable to get stack trace frombaseThrowable - Throwable to exclude stack trace frompreserveCause - Preserve cause in the stack tracepublic static java.lang.String getStackTrace(java.lang.Throwable throwable,
java.lang.Throwable baseThrowable)
throwable - Throwable to get stack trace frombaseThrowable - Throwable to exclude stack trace from