public static final class Sinks.EmissionException extends IllegalStateException
failed
Sinks.EmitResult
.
The exact type of failure can be found via getReason()
.Constructor and Description |
---|
EmissionException(Sinks.EmitResult reason) |
EmissionException(Sinks.EmitResult reason,
String message) |
EmissionException(Throwable cause,
Sinks.EmitResult reason) |
Modifier and Type | Method and Description |
---|---|
Sinks.EmitResult |
getReason()
Get the failure
Sinks.EmitResult code that is represented by this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EmissionException(Sinks.EmitResult reason)
public EmissionException(Throwable cause, Sinks.EmitResult reason)
public EmissionException(Sinks.EmitResult reason, String message)
public Sinks.EmitResult getReason()
Sinks.EmitResult
code that is represented by this exception.Sinks.EmitResult