public class ErrorHandlerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getAsBytes(Object event) |
static Object |
getAsObject(byte[] byteArray) |
static String |
getOriginalPayloadString(Object originalPayloadAsObject) |
static byte[] |
getThrowableStackTraceAsBytes(Throwable throwable) |
public static byte[] getAsBytes(Object event) throws IOException
IOExceptionpublic static Object getAsObject(byte[] byteArray) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static byte[] getThrowableStackTraceAsBytes(Throwable throwable) throws IOException
IOExceptionCopyright © 2020. All rights reserved.