
com.groupbyinc.flux.ElasticsearchException.class Maven / Gradle / Ivy
???? 3? *com/groupbyinc/flux/ElasticsearchException java/lang/RuntimeException .com/groupbyinc/flux/common/xcontent/ToXContent ElasticsearchException.java ,com/groupbyinc/flux/ElasticsearchException$1 java/util/Map$Entry
java/util/Map Entry 5com/groupbyinc/flux/common/xcontent/ToXContent$Params Params Bcom/groupbyinc/flux/common/xcontent/ToXContent$DelegatingMapParams DelegatingMapParams Ncom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException 2com/groupbyinc/flux/common/util/CancellableThreads ExecutionCancelledException Qcom/groupbyinc/flux/index/shard/TranslogRecoveryPerformer$BatchOperationException 9com/groupbyinc/flux/index/shard/TranslogRecoveryPerformer BatchOperationException Bcom/groupbyinc/flux/common/lucene/Lucene$EarlyTerminationException (com/groupbyinc/flux/common/lucene/Lucene ! EarlyTerminationException acom/groupbyinc/flux/action/support/replication/TransportReplicationAction$RetryOnPrimaryException $ Icom/groupbyinc/flux/action/support/replication/TransportReplicationAction & RetryOnPrimaryException 6com/groupbyinc/flux/script/Script$ScriptParseException ) !com/groupbyinc/flux/script/Script + ScriptParseException Scom/groupbyinc/flux/transport/netty/SizeHeaderFrameDecoder$HttpOnTransportException . :com/groupbyinc/flux/transport/netty/SizeHeaderFrameDecoder 0 HttpOnTransportException acom/groupbyinc/flux/action/support/replication/TransportReplicationAction$RetryOnReplicaException 3 RetryOnReplicaException REST_EXCEPTION_SKIP_CAUSE Ljava/lang/String; rest.exception.cause.skip 8 REST_EXCEPTION_SKIP_STACK_TRACE rest.exception.stacktrace.skip ; 'REST_EXCEPTION_SKIP_STACK_TRACE_DEFAULT Z !REST_EXCEPTION_SKIP_CAUSE_DEFAULT INDEX_HEADER_KEY es.index C SHARD_HEADER_KEY es.shard F RESOURCE_HEADER_TYPE_KEY es.resource.type I RESOURCE_HEADER_ID_KEY es.resource.id L ID_TO_SUPPLIER Ljava/util/Map; rLjava/util/Map;>; CLASS_TO_ID dLjava/util/Map;Ljava/lang/Integer;>; headers GLjava/util/Map;>; $assertionsDisabled (Ljava/lang/Throwable;)V V W
X java/util/HashMap Z ()V V \
[ ] S O _ this ,Lcom/groupbyinc/flux/ElasticsearchException; cause Ljava/lang/Throwable; ((Ljava/lang/String;[Ljava/lang/Object;)V >com/groupbyinc/flux/common/logging/support/LoggerMessageFormat f format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; h i
g j (Ljava/lang/String;)V V l
m msg args [Ljava/lang/Object; =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V V s
t 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException w 0com/groupbyinc/flux/common/io/stream/StreamInput y readOptionalString ()Ljava/lang/String; { |
z }
readThrowable ()Ljava/lang/Throwable; ?
z ? readStackTrace ^(Ljava/lang/Throwable;Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Throwable; ? ?
? readVInt ()I ? ?
z ?
readString ? |
z ? java/util/ArrayList ? (I)V V ?
? ? java/lang/String ? add (Ljava/lang/Object;)Z ? ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? j I key numValues values )Ljava/util/ArrayList; Ljava/util/ArrayList; i in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; numKeys addHeader ((Ljava/lang/String;[Ljava/lang/String;)V java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? value [Ljava/lang/String; %(Ljava/lang/String;Ljava/util/List;)V $Ljava/util/List; Ljava/util/List;
getHeaderKeys ()Ljava/util/Set; keySet ? ?
? getHeader $(Ljava/lang/String;)Ljava/util/List; get &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? java/util/List ? status '()Lcom/groupbyinc/flux/rest/RestStatus; unwrapCause ? ?
? #com/groupbyinc/flux/rest/RestStatus ? INTERNAL_SERVER_ERROR %Lcom/groupbyinc/flux/rest/RestStatus; ? ? ? ? java/lang/Throwable ? $com/groupbyinc/flux/ExceptionsHelper ? <(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/rest/RestStatus; ? ?
? ? ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; ? ?
? ? getDetailedMessage getCause ? ?
? java/lang/StringBuilder ?
? ] toString ? |
? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ; ? ? |
? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ?
? ?
? sb Ljava/lang/StringBuilder; getRootCause
? ? rootCause contains (Ljava/lang/Class;)Z java/lang/Class ?
isInstance ? ?
? ? ? ?
? exType Ljava/lang/Class; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V
getMessage |
1com/groupbyinc/flux/common/io/stream/StreamOutput writeOptionalString l
writeThrowable W
writeStackTraces _(Ljava/lang/Throwable;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Ljava/lang/Throwable;
size ?
writeVInt ?
entrySet ?
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z !" next ()Ljava/lang/Object;$%& getKey(% ) writeString+ l
, getValue.% / ? ? v entry MLjava/util/Map$Entry;>; Ljava/util/Map$Entry; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
readException a(Lcom/groupbyinc/flux/common/io/stream/StreamInput;I)Lcom/groupbyinc/flux/ElasticsearchException; java/lang/InstantiationException; java/lang/IllegalAccessException= +java/lang/reflect/InvocationTargetException? N O A java/lang/IntegerC valueOf (I)Ljava/lang/Integer;EF
DG java/lang/reflect/ConstructorI java/lang/IllegalStateExceptionK unknown exception for id: M (I)Ljava/lang/StringBuilder; ?O
?P
L m java/lang/ObjectS newInstance '([Ljava/lang/Object;)Ljava/lang/Object;UV
JW &java/lang/ReflectiveOperationExceptionY !failed to read exception for id [[ ]]
x t e (Ljava/lang/ReflectiveOperationException; input id elasticsearchException NLjava/lang/reflect/Constructor<+Lcom/groupbyinc/flux/ElasticsearchException;>; Ljava/lang/reflect/Constructor; isRegistered Q O h containsKeyj ?
k exception )Ljava/lang/Class<+Ljava/lang/Throwable;>; getRegisteredKeys getId (Ljava/lang/Class;)I intValuer ?
Ds @Ljava/lang/Class<+Lcom/groupbyinc/flux/ElasticsearchException;>;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Ljava/lang/Throwable;)Vvx
y type{ getExceptionName} |
~ 3com/groupbyinc/flux/common/xcontent/XContentBuilder? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? reason? es.?
startsWith (Ljava/lang/String;)Z??
?? length? ?
?? substring (I)Ljava/lang/String;??
?? xContentHeader Z(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Ljava/lang/String;Ljava/util/List;)V??
? innerToXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V??
? renderHeader??
? paramAsBoolean (Ljava/lang/String;Z)Z?? ? stack_trace?
stackTrace )(Ljava/lang/Throwable;)Ljava/lang/String;??
?? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ex causeToXContent??
? caused_by? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? endObject??
?? header???
?? hasHeader isEmpty?! ?? (I)Ljava/lang/Object; ?? ??
startArray??
?? ??
?? endArray??
??vw
?}?
?
? guessRootCauses /()[Lcom/groupbyinc/flux/ElasticsearchException;??
? D(Ljava/lang/Throwable;)[Lcom/groupbyinc/flux/ElasticsearchException; V r
? t getClass ()Ljava/lang/Class;??
T?
getSimpleName? |
??
Elasticsearch? "com/groupbyinc/flux/common/Strings? toUnderscoreCase &(Ljava/lang/String;)Ljava/lang/String;??
??
simpleName (C)Ljava/lang/StringBuilder; ??
?? getIndex? |
?
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId;??
? detailedMessage??
?? trim? |
?? java/lang/StackTraceElement? [Ljava/lang/StackTraceElement; :(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V V
?
setStackTrace !([Ljava/lang/StackTraceElement;)V
?
addSuppressed W
?
declaringClasss fileName
methodName
lineNumber throwable TT; stackTraceElements
numSuppressed
getStackTrace ()[Ljava/lang/StackTraceElement;
? getClassName |
? getFileName |
?
getMethodName |
?
getLineNumber! ?
?"
getSuppressed ()[Ljava/lang/Throwable;$%
?& [Ljava/lang/Throwable;( element Ljava/lang/StackTraceElement;
suppressed ? ?
- index 'com/groupbyinc/flux/index/shard/ShardId0 parseInt (Ljava/lang/String;)I23
D4 (Ljava/lang/String;I)V V6
17 shard setIndex $(Lcom/groupbyinc/flux/index/Index;)V com/groupbyinc/flux/index/Index< getName> |
=? ? ?
A !Lcom/groupbyinc/flux/index/Index; setShard ,(Lcom/groupbyinc/flux/index/shard/ShardId;)V
1?c ?
1G ??
DI shardId )Lcom/groupbyinc/flux/index/shard/ShardId; setResources U > N java/lang/AssertionErrorP
Q ]
getResourceId ()Ljava/util/List; getResourceType renderThrowable errorW??
Y
root_cause[??
?] -[Lcom/groupbyinc/flux/ElasticsearchException;_ truea java/util/Collectionsc singletonMap 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;ef
dg I(Ljava/util/Map;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V Vi
j
rootCauses java/lang/NoSuchMethodExceptionn desiredAssertionStatusp!
?q Ecom/groupbyinc/flux/index/snapshots/IndexShardSnapshotFailedExceptions 9com/groupbyinc/flux/search/dfs/DfsPhaseExecutionExceptionu :com/groupbyinc/flux/discovery/MasterNotDiscoveredExceptionw 2com/groupbyinc/flux/ElasticsearchSecurityExceptiony >com/groupbyinc/flux/index/snapshots/IndexShardRestoreException{ 0com/groupbyinc/flux/indices/IndexClosedException} *com/groupbyinc/flux/http/BindHttpException