public static final class Sinks.EmissionException
extends java.lang.IllegalStateException
failed
Sinks.EmitResult
.
The exact type of failure can be found via getReason()
.构造器和说明 |
---|
EmissionException(Sinks.EmitResult reason) |
EmissionException(Sinks.EmitResult reason,
java.lang.String message) |
EmissionException(java.lang.Throwable cause,
Sinks.EmitResult reason) |
限定符和类型 | 方法和说明 |
---|---|
Sinks.EmitResult |
getReason()
Get the failure
Sinks.EmitResult code that is represented by this exception. |
public EmissionException(Sinks.EmitResult reason)
public EmissionException(java.lang.Throwable cause, Sinks.EmitResult reason)
public EmissionException(Sinks.EmitResult reason, java.lang.String message)
public Sinks.EmitResult getReason()
Sinks.EmitResult
code that is represented by this exception.Sinks.EmitResult