All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.ExceptionsHelper.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4o$com/groupbyinc/flux/ExceptionsHelperjava/lang/ObjectExceptionsHelper.java,com/groupbyinc/flux/ExceptionsHelper$GroupByGroupBy%java/lang/invoke/MethodHandles$Lookup	java/lang/invoke/MethodHandlesLookuplogger!Lorg/apache/logging/log4j/Logger;MAX_ITERATIONSI()V
this&Lcom/groupbyinc/flux/ExceptionsHelper;convertToRuntime3(Ljava/lang/Exception;)Ljava/lang/RuntimeException;java/lang/RuntimeException*com/groupbyinc/flux/ElasticsearchException(Ljava/lang/Throwable;)V
 eLjava/lang/Exception;convertToElasticC(Ljava/lang/Exception;)Lcom/groupbyinc/flux/ElasticsearchException;status<(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/rest/RestStatus;'()Lcom/groupbyinc/flux/rest/RestStatus;&(
)"java/lang/IllegalArgumentException+#com/groupbyinc/flux/rest/RestStatus-BAD_REQUEST%Lcom/groupbyinc/flux/rest/RestStatus;/0	.1Gcom/groupbyinc/flux/common/util/concurrent/EsRejectedExecutionException3TOO_MANY_REQUESTS50	.6INTERNAL_SERVER_ERROR80	.9tLjava/lang/Throwable;unwrapCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;java/lang/Throwable?1com/groupbyinc/flux/ElasticsearchWrapperExceptionAgetCause()Ljava/lang/Throwable;CD
@E	G/Exception cause unwrapping ran for 10 levels...Iorg/apache/logging/log4j/LoggerKwarn*(Ljava/lang/String;Ljava/lang/Throwable;)VMNLOcounterresultdetailedMessage)(Ljava/lang/Throwable;)Ljava/lang/String;Ljava/lang/Deprecated;UnknownVjava/lang/StringBuilderX
YgetClass()Ljava/lang/Class;[\
]java/lang/Class_
getSimpleName()Ljava/lang/String;ab
`cappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;ef
Yg
getMessageib
@j[l]n; pnested: rtoStringtb
YusbLjava/lang/StringBuilder;
stackTracejava/io/StringWriterz
{java/io/PrintWriter}(Ljava/io/Writer;)V
~?printStackTrace(Ljava/io/PrintWriter;)V??
@?
{ustackTraceStringWriterLjava/io/StringWriter;printWriterLjava/io/PrintWriter;formatStackTrace2([Ljava/lang/StackTraceElement;)Ljava/lang/String;java/util/Arrays?stream.([Ljava/lang/Object;)Ljava/util/stream/Stream;??
??java/util/stream/Stream?skip(J)Ljava/util/stream/Stream;????"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???&(Ljava/lang/Object;)Ljava/lang/Object;?lambda$formatStackTrace$01(Ljava/lang/StackTraceElement;)Ljava/lang/String;??
???apply()Ljava/util/function/Function;???map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????
?java/util/stream/Collectors?joining6(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????java/lang/String?[Ljava/lang/StackTraceElement;
maybeErrorL(Ljava/lang/Throwable;Lorg/apache/logging/log4j/Logger;)Ljava/util/Optional;java/lang/Error?java/util/Optional?of((Ljava/lang/Object;)Ljava/util/Optional;??
??java/util/LinkedList?
?java/util/Queue?add(Ljava/lang/Object;)Z????isEmpty()Z????"giving up looking for fatal errors?remove()Ljava/lang/Object;????
getSuppressed()[Ljava/lang/Throwable;??
@?java/util/Collections?addAll,(Ljava/util/Collection;[Ljava/lang/Object;)Z??
??empty()Ljava/util/Optional;??
??currentcausequeue(Ljava/util/Queue;Ljava/util/Queue;
iterationsrethrowAndSuppress(Ljava/util/List;)Vjava/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next????
useOrSuppressA(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
exTT;
exceptionsLjava/util/List;Ljava/util/List;mainmaybeThrowRuntimeAndSuppress
addSuppressed
@firstsecondunwrapCorruption,(Ljava/lang/Throwable;)Ljava/io/IOException;Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexExceptionIcom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldExceptionIcom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooNewExceptionunwrap>(Ljava/lang/Throwable;[Ljava/lang/Class;)Ljava/lang/Throwable;
java/io/IOException[Ljava/lang/Class;
isInstance ?
`!clazzLjava/lang/Class<*>;Ljava/lang/Class;clazzes[Ljava/lang/Class<*>;reThrowIfNotNull(Ljava/lang/Throwable;)Z%Lcom/groupbyinc/flux/common/Nullable;
 groupByx([Lcom/groupbyinc/flux/action/ShardOperationFailedException;)[Lcom/groupbyinc/flux/action/ShardOperationFailedException;java/util/ArrayList.
/java/util/HashSet1
2;[Lcom/groupbyinc/flux/action/ShardOperationFailedException;4
java/util/Set68com/groupbyinc/flux/action/ShardOperationFailedException89E
 contains<?7=7???toArray(([Ljava/lang/Object;)[Ljava/lang/Object;AB?Creason.Lcom/groupbyinc/flux/ExceptionsHelper$GroupBy;failure:Lcom/groupbyinc/flux/action/ShardOperationFailedException;failuresuniqueFailuresLLjava/util/List;reasons?Ljava/util/Set;Ljava/util/Set;	at O-(Ljava/lang/Object;)Ljava/lang/StringBuilder;eQ
YRLjava/lang/StackTraceElement;*com/groupbyinc/flux/common/logging/LoggersV	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;XY
WZ
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
DeprecatedRuntimeVisibleAnnotationsLocalVariableTypeTable	Signature_(Ljava/lang/Throwable;Lorg/apache/logging/log4j/Logger;)Ljava/util/Optional;
Exceptions5(Ljava/util/List;)V^TT;1(Ljava/util/List;)V$(TT;TT;)TT;A(Ljava/lang/Throwable;[Ljava/lang/Class<*>;)Ljava/lang/Throwable;"RuntimeVisibleParameterAnnotationsBootstrapMethods
SourceFileInnerClasses1\]/*??^_/	]P*??*???Y*?!?^"#_457`	$%]P*??*???Y*?!?^"#_;<>`	&']~-*?(*??*??*?*?,??2?*?4??7??:?^-;<_"BCDEFG%H)K`

	=>]?><*M,?B?4,?F?,?,?F,?,??
??HJ*?P,?,?FM???,?^ >;<<Q:R<_2OPQRSUVX'Z2[4]<_`
?@		ST]
?*?W?*?F?X?YY?ZL*?G+*?^?d?hW*?k?+m?hW+*?k?hW+o?hW+q?hW*?FK*???+s?hW???+?v??YY?Z*?^?d?hm?h*?k?ho?h?v?^Mwx?;<_Bghjklm&n-o4p=qDsKtPuTv^yc{`?Y-?abU	yT]e?{Y?|L?~Y+??M*,??+???^ "<??
??_????	??]L"*??
??????????????^"y?_?	??]D?*?™*?¸Ȱ??Y??M,*??W>,???V??+?*?P?@,???@:?™?¸Ȱ,?߸?W?F?,?F??W?????^4K/?<??<?j??!`?cj??_J?????!?*?-?4?=?@?K?S?\?f?n?z?}?`???@?de	??]?,L*??M,???,???@N+-?L???+?+??^ <,*	<c ,*	_???"?%?)?+?`?	@??f@dg	
?]?3L*??M,???,???@N+-?L???+??Y+?!??^ <31	<c 31	_???"?%?)?2?`?	@??dh	]r
*?+?*+?
*?^
<
<c

_????`di	]H*?`YSYSYS???^;<_??]?4*?1+M,?>6?,2:*?"?*?????*?FYK????^ #%4;<4&c#$4&'_???!?#?)?2?`??dj	()]_*?*??*???Y*?+??^"<_?????`k*	,-]g?/Y?0L?2Y?3M*N-?66?<-2:?Y?:?;:,?>?,??W+?@W????+?9?D?5?^46EF&-GHgI4_JWLNc_JKWLM_&	???&?6?A?J?S?Y`?5?759?
??]??YY?ZP?h*?S?v?^"T_?U]!	?[?H?_1l????mn






© 2015 - 2024 Weber Informatics LLC | Privacy Policy