Exception Exceptions.StreamWriterClosedException (3.4.0)

public static final class Exceptions.StreamWriterClosedException extends StatusRuntimeException

This writer instance has either been closed by the user explicitly, or has encountered non-retriable errors.

To continue to write to the same stream, you will need to create a new writer instance.

Constructors

StreamWriterClosedException(Status grpcStatus, String streamName, String writerId)

protected StreamWriterClosedException(Status grpcStatus, String streamName, String writerId)
Parameters
NameDescription
grpcStatusio.grpc.Status
streamNameString
writerIdString

Methods

getStreamName()

public String getStreamName()
Returns
TypeDescription
String

getWriterId()

public String getWriterId()
Returns
TypeDescription
String