Class RequestFailure
- java.lang.Object
-
- org.apache.flink.queryablestate.network.messages.RequestFailure
-
-
Constructor Summary
Constructors Constructor Description RequestFailure(long requestId, Throwable cause)
Creates a failure response to aMessageBody
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
Returns the failure cause.long
getRequestId()
Returns the request ID responding to.String
toString()
-
-
-
Constructor Detail
-
RequestFailure
public RequestFailure(long requestId, Throwable cause)
Creates a failure response to aMessageBody
.- Parameters:
requestId
- ID for the request responding tocause
- Failure cause (not allowed to be a user type)
-
-