
com.groupbyinc.flux.common.io.stream.NotSerializableExceptionWrapper.class Maven / Gradle / Ivy
???? 3 ? 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 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 n
m
p 0com/groupbyinc/flux/common/io/stream/StreamInput r
readString t
s u #com/groupbyinc/flux/rest/RestStatus w readFrom Y(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/rest/RestStatus; y z
x { 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 ?
x ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; '()Lcom/groupbyinc/flux/rest/RestStatus; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 1
? Q ?*?
Y? +? ? ? +? ? ? #+? '? )? ,*+? ? .*+? 3? 5*+? 9? =+? AM,?>6? ,2:*? F????+? ? 5+? M,? J? P N-? V ? -? Z ? \:*,? `? d??? ? 4 X e f ? g p - h i ? j k ? l f ? > ) * &