public abstract class BinaryProtocol.RejectMessage extends BinaryProtocol.SimpleMessage
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorMessage |
| Modifier | Constructor and Description |
|---|---|
|
RejectMessage(ByteBuffer buffer) |
protected |
RejectMessage(String errorMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage() |
String |
toString() |
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, putWireFormat, wireFormat, wireFormatSizeallocateInitializedBuffer, getOp, matchprotected String errorMessage
protected RejectMessage(String errorMessage)
public RejectMessage(ByteBuffer buffer)
public ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messagepublic String getErrorMessage()
public String toString()
toString in class BinaryProtocol.MessageCopyright © 2024. All rights reserved.