public final class ExceptionExtensions extends Object
ExceptionExtensions.| Constructor and Description |
|---|
ExceptionExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getStackTrace(Throwable throwable)
Gets the stacktrace as string.
|
static String |
getStackTraceElements(Throwable throwable)
Gets the stack trace elements from the given Throwable and returns a
String object
from it. |
public static String getStackTrace(Throwable throwable) throws IOException
throwable - the throwableIOException - Signals that an I/O exception has occurred.public static String getStackTraceElements(Throwable throwable) throws IOException
String object
from it.throwable - the throwableIOException - Signals that an I/O exception has occurred.Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.