com.hazelcast.spi.impl.operationservice.impl.responses
Class ErrorResponse
java.lang.Object
com.hazelcast.spi.impl.operationservice.impl.responses.Response
com.hazelcast.spi.impl.operationservice.impl.responses.ErrorResponse
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable
public class ErrorResponse
- extends Response
Fields inherited from class com.hazelcast.spi.impl.operationservice.impl.responses.Response |
callId, urgent |
ErrorResponse
public ErrorResponse()
ErrorResponse
public ErrorResponse(Throwable cause,
long callId,
boolean urgent)
getCause
public Throwable getCause()
getId
public int getId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns type identifier for this class. Id should be unique per DataSerializableFactory.
- Returns:
- type id
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Overrides:
writeData
in class Response
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Overrides:
readData
in class Response
- Parameters:
in
- input
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.