public class DataConverterUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Throwable |
detachCause(java.lang.Throwable throwable)
We want to serialize the throwable and its cause separately, so that if the throwable is
serializable but the cause is not, we can still serialize them correctly (i.e.
|
static boolean |
isSettingPrivateFieldAllowed()
Are JVM permissions allowing setting private fields using reflection?
|
static java.lang.StackTraceElement[] |
parseStackTrace(java.lang.String stackTrace)
Parses stack trace serialized using
serializeStackTrace(Throwable) . |
static java.lang.String |
serializeStackTrace(java.lang.Throwable e) |
public static boolean isSettingPrivateFieldAllowed()
public static java.lang.String serializeStackTrace(java.lang.Throwable e)
public static java.lang.StackTraceElement[] parseStackTrace(java.lang.String stackTrace)
serializeStackTrace(Throwable)
.public static java.lang.Throwable detachCause(java.lang.Throwable throwable)