Module org.elasticsearch.server
Class AddIndexBlockResponse.AddBlockShardResult.Failure
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.elasticsearch.action.ShardOperationFailedException
org.elasticsearch.action.support.DefaultShardOperationFailedException
org.elasticsearch.action.admin.indices.readonly.AddIndexBlockResponse.AddBlockShardResult.Failure
- All Implemented Interfaces:
Serializable,Writeable,ToXContent,ToXContentObject
- Enclosing class:
AddIndexBlockResponse.AddBlockShardResult
public static class AddIndexBlockResponse.AddBlockShardResult.Failure
extends DefaultShardOperationFailedException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.DefaultShardOperationFailedException
PARSERFields inherited from class org.elasticsearch.action.ShardOperationFailedException
cause, index, reason, shardId, statusFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninnerToXContent(XContentBuilder builder, ToXContent.Params params) toString()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.DefaultShardOperationFailedException
declareFields, fromXContent, readFrom, readShardOperationFailed, toXContentMethods inherited from class org.elasticsearch.action.ShardOperationFailedException
getCause, index, reason, shardId, statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
Failure
-
Failure
-
-
Method Details
-
getNodeId
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classDefaultShardOperationFailedException- Throws:
IOException
-
innerToXContent
public XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Overrides:
innerToXContentin classDefaultShardOperationFailedException- Throws:
IOException
-
toString
- Overrides:
toStringin classDefaultShardOperationFailedException
-