public final class UtlThrowable extends Object
This class contains runtime utility methods to work with throwable objects.
Constructor and Description |
---|
UtlThrowable() |
Modifier and Type | Method and Description |
---|---|
static void |
prepareStackTrace(StringBuilder sb,
StackTraceElement[] stack) |
static String |
prepareStackTrace(Throwable t)
Prepare a throwable object's stack trace.
|
public static String prepareStackTrace(Throwable t)
t
- The throwable object whose stack trace is being prepared.public static void prepareStackTrace(StringBuilder sb, StackTraceElement[] stack)
sb
- The builder into which to append the stack trace.stack
- The stack to dump.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.