public class ExceptionSerializer extends Object implements Serializer<Exception,byte[]>
| Constructor and Description |
|---|
ExceptionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Exception |
deserialize(byte[] bytes)
deserialize
|
static Object |
deserializeByObjectInputStream(byte[] bytes) |
static <T> T |
deserializeByObjectInputStream(byte[] bytes,
Class<T> valueType) |
byte[] |
serialize(Exception object)
serialize
|
static byte[] |
serializeByObjectOutput(Object o) |
public static byte[] serializeByObjectOutput(Object o)
public static <T> T deserializeByObjectInputStream(byte[] bytes,
Class<T> valueType)
public static Object deserializeByObjectInputStream(byte[] bytes)
public byte[] serialize(Exception object)
Serializerserialize in interface Serializer<Exception,byte[]>object - serialize inputpublic Exception deserialize(byte[] bytes)
Serializerdeserialize in interface Serializer<Exception,byte[]>bytes - deserialize inputCopyright © 2023 Seata. All rights reserved.