public class ErrorResponse extends Response
callId, OFFSET_CALL_ID, OFFSET_IDENTIFIED, OFFSET_SERIALIZER_TYPE_ID, OFFSET_TYPE_FACTORY_ID, OFFSET_TYPE_ID, OFFSET_URGENT, RESPONSE_SIZE_IN_BYTES, urgent| Constructor and Description |
|---|
ErrorResponse() |
ErrorResponse(Throwable cause,
long callId,
boolean urgent) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
int |
getId()
Returns type identifier for this class.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getCallId, getFactoryId, isUrgentpublic ErrorResponse()
public ErrorResponse(Throwable cause, long callId, boolean urgent)
public Throwable getCause()
public int getId()
IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class Responseout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class Responsein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.