Class ShardOperationFailedException

    • Field Detail

      • index

        protected java.lang.String index
      • shardId

        protected int shardId
      • reason

        protected java.lang.String reason
      • cause

        protected java.lang.Throwable cause
    • Constructor Detail

      • ShardOperationFailedException

        protected ShardOperationFailedException()
      • ShardOperationFailedException

        protected ShardOperationFailedException​(@Nullable
                                                java.lang.String index,
                                                int shardId,
                                                java.lang.String reason,
                                                RestStatus status,
                                                java.lang.Throwable cause)
    • Method Detail

      • index

        @Nullable
        public final java.lang.String index()
        The index the operation failed on. Might return null if it can't be derived.
      • shardId

        public final int shardId()
        The index the operation failed on. Might return -1 if it can't be derived.
      • reason

        public final java.lang.String reason()
        The reason of the failure.
      • status

        public final RestStatus status()
        The status of the failure.
      • getCause

        public final java.lang.Throwable getCause()
        The cause of this failure