java.lang.Object
ch.qos.logback.classic.spi.ThrowableProxyUtil
Convert a throwable into an array of ThrowableDataPoint objects.
- Author:
- Ceki Gülcü
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static void
build
(ThrowableProxy nestedTP, Throwable nestedThrowable, ThrowableProxy parentTP) static void
indent
(StringBuilder buf, int indent) static void
subjoinFirstLine
(StringBuilder buf, IThrowableProxy tp) static void
static void
subjoinPackagingData
(StringBuilder builder, StackTraceElementProxy step) static void
subjoinSTEP
(StringBuilder sb, StackTraceElementProxy step) static void
subjoinSTEPArray
(StringBuilder sb, int indentLevel, IThrowableProxy tp) static void
Deprecated.Use subjoinSTEPArray(StringBuilder sb, int indentLevel, IThrowableProxy tp) instead.
-
Field Details
-
REGULAR_EXCEPTION_INDENT
- See Also:
-
SUPPRESSED_EXCEPTION_INDENT
- See Also:
-
-
Constructor Details
-
ThrowableProxyUtil
public ThrowableProxyUtil()
-
-
Method Details
-
build
public static void build(ThrowableProxy nestedTP, Throwable nestedThrowable, ThrowableProxy parentTP) -
asString
-
indent
-
subjoinPackagingData
-
subjoinSTEP
-
subjoinSTEPArray
Deprecated.Use subjoinSTEPArray(StringBuilder sb, int indentLevel, IThrowableProxy tp) instead.- Parameters:
sb
- The StringBuilder the STEPs are appended to.tp
- the IThrowableProxy containing the STEPs.
-
subjoinSTEPArray
- Parameters:
sb
- The StringBuilder the STEPs are appended to.indentLevel
- indentation level used for the STEPs, usually REGULAR_EXCEPTION_INDENT.tp
- the IThrowableProxy containing the STEPs.
-
subjoinFirstLine
-
subjoinFirstLineRootCauseFirst
-