Class RequestFailure
- java.lang.Object
-
- org.apache.flink.queryablestate.network.messages.RequestFailure
-
@Internal public class RequestFailure extends Object
A message indicating a protocol-related error.
-
-
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 ThrowablegetCause()Returns the failure cause.longgetRequestId()Returns the request ID responding to.StringtoString()
-
-
-
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)
-
-