public final class TaskOperationFailure extends java.lang.Object implements Writeable, ToXContentFragment
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
TaskOperationFailure(StreamInput in)
Read from a stream.
|
TaskOperationFailure(java.lang.String nodeId,
long taskId,
java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getCause() |
java.lang.String |
getNodeId() |
java.lang.String |
getReason() |
RestStatus |
getStatus() |
long |
getTaskId() |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFragment
public TaskOperationFailure(java.lang.String nodeId, long taskId, java.lang.Exception e)
public TaskOperationFailure(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.lang.String getNodeId()
public long getTaskId()
public java.lang.String getReason()
public RestStatus getStatus()
public java.lang.Exception getCause()
public java.lang.String toString()
toString
in class java.lang.Object
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException