public class ThrowableProxyUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
REGULAR_EXCEPTION_INDENT |
static int |
SUPPRESSED_EXCEPTION_INDENT |
Constructor and Description |
---|
ThrowableProxyUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asString(IThrowableProxy tp) |
static void |
build(ThrowableProxy nestedTP,
java.lang.Throwable nestedThrowable,
ThrowableProxy parentTP) |
static void |
indent(java.lang.StringBuilder buf,
int indent) |
static void |
subjoinFirstLine(java.lang.StringBuilder buf,
IThrowableProxy tp) |
static void |
subjoinFirstLineRootCauseFirst(java.lang.StringBuilder buf,
IThrowableProxy tp) |
static void |
subjoinPackagingData(java.lang.StringBuilder builder,
StackTraceElementProxy step) |
static void |
subjoinSTEP(java.lang.StringBuilder sb,
StackTraceElementProxy step) |
static void |
subjoinSTEPArray(java.lang.StringBuilder sb,
int indentLevel,
IThrowableProxy tp) |
static void |
subjoinSTEPArray(java.lang.StringBuilder sb,
IThrowableProxy tp)
Deprecated.
Use subjoinSTEPArray(StringBuilder sb, int indentLevel, IThrowableProxy tp) instead.
|
public static final int REGULAR_EXCEPTION_INDENT
public static final int SUPPRESSED_EXCEPTION_INDENT
public static void build(ThrowableProxy nestedTP, java.lang.Throwable nestedThrowable, ThrowableProxy parentTP)
public static java.lang.String asString(IThrowableProxy tp)
public static void indent(java.lang.StringBuilder buf, int indent)
public static void subjoinPackagingData(java.lang.StringBuilder builder, StackTraceElementProxy step)
public static void subjoinSTEP(java.lang.StringBuilder sb, StackTraceElementProxy step)
public static void subjoinSTEPArray(java.lang.StringBuilder sb, IThrowableProxy tp)
sb
- The StringBuilder the STEPs are appended to.tp
- the IThrowableProxy containing the STEPs.public static void subjoinSTEPArray(java.lang.StringBuilder sb, int indentLevel, IThrowableProxy tp)
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.public static void subjoinFirstLine(java.lang.StringBuilder buf, IThrowableProxy tp)
public static void subjoinFirstLineRootCauseFirst(java.lang.StringBuilder buf, IThrowableProxy tp)
Copyright © 2010 - 2020 Adobe. All Rights Reserved