com.neeve.util
Class UtlThrowable
java.lang.Object
com.neeve.util.UtlThrowable
public final class UtlThrowable
- extends Object
Utility class containing methods to work with throwable objects.
This class contains runtime utility methods to work with throwable objects.
UtlThrowable
public UtlThrowable()
prepareStackTrace
public static String prepareStackTrace(Throwable t)
- Prepare a throwable object's stack trace.
- Parameters:
t
- The throwable object whose stack trace is being prepared.
- Returns:
- Returns the prepared stack trace as a string.
- Threading:
- This method is safe for concurrent access by multiple threads
prepareStackTrace
public static void prepareStackTrace(StringBuilder sb,
StackTraceElement[] stack)
- Parameters:
sb
- The builder into which to append the stack trace.stack
- The stack to dump.
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.