public 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. |
static <T> String |
toString(T object)
Prints the
Object.toString() and if the given object is null a corresponding information. |
public static String getStackTrace(Throwable throwable)
throwable - the throwablepublic static String getStackTraceElements(Throwable throwable)
String object
from it.throwable - the throwablepublic static <T> String toString(T object)
Object.toString() and if the given object is null a corresponding information.T - the generic typeobject - the objectCopyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.