public abstract class BinaryProtocol.RejectMessage extends BinaryProtocol.SimpleMessage
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
errorMessage |
Modifier | Constructor and Description |
---|---|
|
BinaryProtocol.RejectMessage(java.nio.ByteBuffer buffer) |
protected |
BinaryProtocol.RejectMessage(java.lang.String errorMessage) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
java.lang.String |
toString() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, getOp, match
protected BinaryProtocol.RejectMessage(java.lang.String errorMessage)
public BinaryProtocol.RejectMessage(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public java.lang.String getErrorMessage()
public java.lang.String toString()
toString
in class BinaryProtocol.Message
Copyright (c) 2004-2012 Oracle. All rights reserved.