com.groupbyinc.flux.common.util.CancellableThreads.class Maven / Gradle / Ivy
???? 4 ? 2com/groupbyinc/flux/common/util/CancellableThreads java/lang/Object CancellableThreads.java Ncom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException ExecutionCancelledException Bcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable IOInterruptable @com/groupbyinc/flux/common/util/CancellableThreads$Interruptable
Interruptable threads Ljava/util/Set; #Ljava/util/Set; cancelled Z reason Ljava/lang/String; $assertionsDisabled ()V
java/util/HashSet
this 4Lcom/groupbyinc/flux/common/util/CancellableThreads; isCancelled ()Z checkForCancel $ %
' ) onCancel *(Ljava/lang/String;Ljava/lang/Exception;)V + ,
- %Lcom/groupbyinc/flux/common/Nullable; java/lang/StringBuilder 0
1 operation was cancelled reason [ 3 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 5 6
1 7 ] 9 toString ()Ljava/lang/String; ; <
1 = (Ljava/lang/String;)V ?
@ java/lang/RuntimeException B
addSuppressed (Ljava/lang/Throwable;)V D E
C F suppressedException Ljava/lang/Exception; e Ljava/lang/RuntimeException; add &