
com.groupbyinc.flux.action.search.ShardSearchFailure.class Maven / Gradle / Ivy
???? 3 ? 4com/groupbyinc/flux/action/search/ShardSearchFailure java/lang/Object 8com/groupbyinc/flux/action/ShardOperationFailedException ShardSearchFailure.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params EMPTY_ARRAY 7[Lcom/groupbyinc/flux/action/search/ShardSearchFailure; shardTarget .Lcom/groupbyinc/flux/search/SearchShardTarget; reason Ljava/lang/String; status %Lcom/groupbyinc/flux/rest/RestStatus; cause Ljava/lang/Throwable; ()V
this 6Lcom/groupbyinc/flux/action/search/ShardSearchFailure; (Ljava/lang/Throwable;)V F(Ljava/lang/Throwable;Lcom/groupbyinc/flux/search/SearchShardTarget;)V
t %Lcom/groupbyinc/flux/common/Nullable; $com/groupbyinc/flux/ExceptionsHelper # unwrapCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; % &
$ ' *com/groupbyinc/flux/search/SearchException ) shard 0()Lcom/groupbyinc/flux/search/SearchShardTarget; + ,
* - / java/lang/Throwable 1 ,com/groupbyinc/flux/search/SearchShardTarget 3 <(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/rest/RestStatus; 5
$ 6 8 detailedMessage )(Ljava/lang/Throwable;)Ljava/lang/String; : ;
$ < > @ actual C(Ljava/lang/String;Lcom/groupbyinc/flux/search/SearchShardTarget;)V #com/groupbyinc/flux/rest/RestStatus D INTERNAL_SERVER_ERROR F E G h(Ljava/lang/String;Lcom/groupbyinc/flux/search/SearchShardTarget;Lcom/groupbyinc/flux/rest/RestStatus;)V I
J '()Lcom/groupbyinc/flux/rest/RestStatus; index ()Ljava/lang/String; M N
4 O shardId ()I Q R
4 S toString java/lang/StringBuilder V
W shard [ Y append -(Ljava/lang/String;)Ljava/lang/StringBuilder; [ \
W ] _na _ java/lang/Comparable a -(Ljava/lang/Object;)Ljava/lang/StringBuilder; [ c
W d ], reason [ f
], cause [ h
stackTrace j ;
$ k java/lang/String m ] o U N
W q readShardSearchFailure j(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/search/ShardSearchFailure; java/io/IOException u
readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V x y
z in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; shardSearchFailure 0com/groupbyinc/flux/common/io/stream/StreamInput readBoolean ()Z ? ?
? ? readSearchShardTarget b(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/SearchShardTarget; ? ?
4 ?
readString ? N
? ? Y(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/rest/RestStatus; x ?
E ?
readThrowable ()Ljava/lang/Throwable; ? ?
? ? writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeBoolean (Z)V ? ?
? ? ? ?
4 ? writeString (Ljava/lang/String;)V ? ?
? ? [(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/rest/RestStatus;)V ? ?
E ? writeThrowable ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; +
S 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? field J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? M
O [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? node ? nodeId ? N
4 ? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? *com/groupbyinc/flux/ElasticsearchException ? ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Ljava/lang/Throwable;)V ? ?
? ? endObject ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; getCause
? Code LocalVariableTable LineNumberTable
StackMapTable "RuntimeVisibleParameterAnnotations RuntimeVisibleAnnotations
Exceptions
SourceFile InnerClasses !
? 3 *? ? ? ?
4 6 ? ? *+? ? ? ! ?
9 : ? ? A*? +? (N-? -? *? *-? *? .? 0? ,? *,? 0*-? 7? 9*+? =? ?*-? A? ? * A A ! A 8 B ? *
<