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, isUrgent
public ErrorResponse()
public ErrorResponse(Throwable cause, long callId, boolean urgent)
public Throwable getCause()
public int getId()
IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Response
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Response
in
- inputIOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.