Class ThrowableUtil
java.lang.Object
io.netty.util.internal.ThrowableUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSuppressed(Throwable target, Throwable suppressed) static voidaddSuppressed(Throwable target, List<Throwable> suppressed) static voidaddSuppressedAndClear(Throwable target, List<Throwable> suppressed) static Throwable[]getSuppressed(Throwable source) static booleanDeprecated.static StringstackTraceToString(Throwable cause) Deprecated.static <T extends Throwable>
TunknownStackTrace(T cause, Class<?> clazz, String method)
-
Method Details
-
unknownStackTrace
-
stackTraceToString
Deprecated.Gets the stack trace from a Throwable as a String.- Parameters:
cause- theThrowableto be examined- Returns:
- the stack trace as generated by
Throwable.printStackTrace(java.io.PrintWriter)method.
-
haveSuppressed
Deprecated. -
addSuppressed
-
addSuppressedAndClear
-
addSuppressed
-
getSuppressed
-