| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | Exceptions.CancelException
An error signal from downstream subscribers consuming data when their state is denying any additional event. |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | Exceptions.ReactiveException
An exception that is propagated downward through |
| pack-priv static class | |
| pack-priv static class | Exceptions.RetryExhaustedException
A specialized |
| public static class | Exceptions.SourceException
A |
| pack-priv static class | Exceptions.StaticRejectedExecutionException
A |
| pack-priv static class | Exceptions.StaticThrowable
A general-purpose |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | BACKPRESSURE_ERROR_QUEUE_FULL
A common error message used when a reactive streams source doesn't seem to respect backpressure signals, resulting in an operator's internal queue to be full. |
| private static final Logger | |
| pack-priv static final RejectedExecutionException | |
| pack-priv static final RejectedExecutionException | |
| public static final Throwable | TERMINATED
A singleton instance of a Throwable indicating a terminal state for exceptions, don't leak this! |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static final RuntimeException | addSuppressed(RuntimeException
the original original, Throwable RuntimeException to bear a suppressed exceptionthe suppressed)Throwable to suppressSafely suppress a |
| public static final Throwable | |
| public static < the parent instance type T> boolean | Returns: true if added, false if the field contained theTERMINATED
instance.the target field updater field, T the parent instance for the field instance, Throwable the Throwable to add. exception)Update an empty atomic reference with the given exception, or combine further added
exceptions together as suppressed exceptions under a root Throwable with
the |
| public static RuntimeException | Returns: an unchecked exception that should choose bubbling up over error callback paththe root cause t)Prepare an unchecked |
| public static IllegalStateException | Returns: a newIllegalStateException with a cause message abiding to
reactive stream specification rule 2.12.
|
| public static UnsupportedOperationException | Returns: anUnsupportedOperationException indicating the error callback was
not implemented and holding the original propagated error.original error not processed by a receiver. cause)Return an |
| public static RuntimeException | failWithCancel()
An exception that is propagated upward and considered as "fatal" as per Reactive Stream limited list of exceptions allowed to bubble. |
| public static IllegalStateException | Returns: anIllegalStateExceptionReturn an |
| public static IllegalStateException | Returns: anIllegalStateExceptionthe exception's message message)Return an |
| public static RejectedExecutionException | Returns: a singletonRejectedExecutionExceptionReturn a singleton |
| public static RejectedExecutionException | Returns: a newRejectedExecutionException with standard message and causethe original exception that caused the rejection cause)Return a new |
| public static RejectedExecutionException | Returns: a newRejectedExecutionException with custom messagethe rejection message message)Return a new |
| public static RejectedExecutionException | Returns: a singletonRejectedExecutionExceptionReturn a singleton |
| public static boolean | Returns: true if givenThrowable is a bubbled wrapped exception.the t)Throwable error to checkCheck if the given exception is a |
| public static boolean | Returns: true if givenThrowable is a cancellation token.the t)Throwable error to checkCheck if the given error is a |
| public static boolean | Returns: true if givenThrowable is a callback not implemented exception.the t)Throwable error to checkCheck if the given error is a |
| public static boolean | Returns: true if the throwable is considered fatalthe t)Throwable to checkCheck if a |
| pack-priv static boolean | isFatalButNotJvmFatal(Throwable t)
Internal intermediate test that only detect Fatal but not Jvm Fatal exceptions. |
| public static boolean | Returns: true if the throwable is considered Jvm Fatalthe t)Throwable to checkCheck if a |
| public static boolean | Returns: true if the Throwable is an instance created bymultiple(Throwable., false otherwisethe t)Throwable to check, null always yields falseCheck a |
| public static boolean | Returns: true if the givenThrowable represents an overflow.the t)Throwable error to checkCheck if the given exception represents an |
| public static boolean | Returns: true if the Throwable is an instance representing retry exhaustion, false otherwisethe t)Throwable to check, null always yields falseCheck a |
| public static boolean | Returns: true if the Throwable is a traceback, false otherwisethe t)Throwable to check, null always yields falseCheck a |
| public static RuntimeException | Returns: a composite exception with a standard message, and the given throwables as suppressed exceptionsthe exceptions to wrap into a composite throwables)Create a composite exception that wraps the given |
| public static RuntimeException | Returns: a composite exception with a standard message, and the given throwables as suppressed exceptionsthe exceptions to wrap into a composite throwables)Create a composite exception that wraps the given |
| public static IllegalArgumentException | Returns: a newIllegalArgumentException with a cause message abiding to
reactive stream specification rule 3.9.the invalid requested demand elements)
|
| public static RuntimeException | Returns: an unchecked exception to propagate through onError signals.the root cause t)Prepare an unchecked |
| public static RuntimeException | Returns: a newRuntimeException representing retry exhaustion due to too many attemptsthe message message, Throwable the cause of the last retry attempt that failed (or null if irrelevant) cause)Return a new |
| public static < the instance type T> Throwable | Returns: the previously masked throwablethe atomic container field, T the reference instance instance)Atomic utility to safely mark a volatile throwable reference with a terminal marker. |
| public static void | throwIfFatal(Throwable
the exception to evaluate t)Throws a particular |
| public static void | throwIfJvmFatal(Throwable
the exception to evaluate t)Throws a particular |
| public static Throwable | |
| public static List | |
| public static List | unwrapMultipleExcludingTracebacks(Throwable
the potentialMultiple)Throwable to unwrap if multipleAttempt to unwrap a |
| public static Throwable | Returns: SourceExceptionthe source sequence throwable)error signalWrap a |