Package reactor.core.publisher
Class Sinks.EmissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
reactor.core.publisher.Sinks.EmissionException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Sinks
An exception representing a
failed Sinks.EmitResult.
The exact type of failure can be found via getReason().- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmissionException(Throwable cause, Sinks.EmitResult reason) EmissionException(Sinks.EmitResult reason) EmissionException(Sinks.EmitResult reason, String message) -
Method Summary
Modifier and TypeMethodDescriptionGet the failureSinks.EmitResultcode that is represented by this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmissionException
-
EmissionException
-
EmissionException
-
-
Method Details
-
getReason
Get the failureSinks.EmitResultcode that is represented by this exception.- Returns:
- the
Sinks.EmitResult
-