com.groupbyinc.flux.common.io.stream.NotSerializableExceptionWrapper.class Maven / Gradle / Ivy
???? 4 ? Dcom/groupbyinc/flux/common/io/stream/NotSerializableExceptionWrapper *com/groupbyinc/flux/ElasticsearchException $NotSerializableExceptionWrapper.java name Ljava/lang/String; status %Lcom/groupbyinc/flux/rest/RestStatus; (Ljava/lang/Throwable;)V java/lang/StringBuilder ()V
getExceptionName )(Ljava/lang/Throwable;)Ljava/lang/String;
append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
: java/lang/Throwable
getMessage ()Ljava/lang/String;
toString !
" getCause ()Ljava/lang/Throwable; $ %
& java/lang/Object ( =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
*
+ - $com/groupbyinc/flux/ExceptionsHelper / <(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/rest/RestStatus; 1
0 2 4
getStackTrace ()[Ljava/lang/StackTraceElement; 6 7
8
setStackTrace !([Ljava/lang/StackTraceElement;)V : ;
<
getSuppressed ()[Ljava/lang/Throwable; > ?
@ [Ljava/lang/Throwable; B
addSuppressed D
E
getHeaderKeys ()Ljava/util/Set; G H
I
java/util/Set K iterator ()Ljava/util/Iterator; M N L O java/util/Iterator Q hasNext ()Z S T R U next ()Ljava/lang/Object; W X R Y java/lang/String [ getHeader $(Ljava/lang/String;)Ljava/util/List; ] ^
_ addHeader %(Ljava/lang/String;Ljava/util/List;)V a b
c getMetadataKeys e H
f getMetadata h ^
i addMetadata k b
l otherSuppressed Ljava/lang/Throwable; key ex ,Lcom/groupbyinc/flux/ElasticsearchException; this FLcom/groupbyinc/flux/common/io/stream/NotSerializableExceptionWrapper; other 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException w
v
y 0com/groupbyinc/flux/common/io/stream/StreamInput {
readString }
| ~ #com/groupbyinc/flux/rest/RestStatus ? readFrom Y(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/rest/RestStatus; ? ?
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString (Ljava/lang/String;)V ? ?
? ? [(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/rest/RestStatus;)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; '()Lcom/groupbyinc/flux/rest/RestStatus; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 1
? ? ?*?
Y? +? ? ? +? ? ? #+? '? )? ,*+? ? .*+? 3? 5*+? 9? =+? AM,?>6? ,2:*? F????+? ? b+? M,? J? P N-? V ? -? Z ? \:*,? `? d???,? g? P N-? V ? -? Z ? \:*,? j? m??? ? > X n o ? p ? p p Z q r ? s t ? u o ? B ) ) * 1 + 9 , A - X . ^ - d 0 k 1 p 2 ? 3 ? 4 ? 5 ? 6 ? 7 ? 9 ? , ? L C ? ? R? "? R? "
v ? V *+? z*+? ? .*+? ?? 5? ? s t ? ? ? <