public class ExceptionMsg extends Object implements ICorfuPayload<ExceptionMsg>
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionMsg.DeserializationFailedException
Represents an exception which failed deserialization.
|
static class |
ExceptionMsg.SerializationFailedException
Represents an exception which failed serialization.
|
ICorfuPayload.PayloadConstructor<T>
constructorMap, lookup
Constructor and Description |
---|
ExceptionMsg(io.netty.buffer.ByteBuf b)
Generate an exception message from a bytebuf.
|
ExceptionMsg(Throwable t)
Constructor for ExceptionMsg.
|
Modifier and Type | Method and Description |
---|---|
void |
doSerialize(io.netty.buffer.ByteBuf buf)
Serialize an exception message into a bytebuf.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enumMapFromBuffer, fromBuffer, fromBuffer, listFromBuffer, mapFromBuffer, rangeFromBuffer, rangeSetFromBuffer, serialize, setFromBuffer
public ExceptionMsg(Throwable t)
t
- The throwable to send.public ExceptionMsg(io.netty.buffer.ByteBuf b)
b
- The buffer to serialize from.public void doSerialize(io.netty.buffer.ByteBuf buf)
doSerialize
in interface ICorfuPayload<ExceptionMsg>
buf
- The buffer to serialize into.Copyright © 2019 CorfuDB. All rights reserved.