Class Exceptions.OffsetOutOfRange
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.grpc.StatusRuntimeException
-
- com.google.cloud.bigquery.storage.v1.Exceptions.StorageException
-
- com.google.cloud.bigquery.storage.v1.Exceptions.OffsetOutOfRange
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Exceptions
public static final class Exceptions.OffsetOutOfRange extends Exceptions.StorageException
Offset out of range. This indicates that the append request is attempting to write data to a point beyond the current end of the stream. To append data successfully, you must either specify the offset corresponding to the current end of stream, or omit the offset from the append request. It usually means a bug in your code that introduces a gap in appends.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OffsetOutOfRange(io.grpc.Status grpcStatus, String name, Long expectedOffset, Long actualOffset)
-
Method Summary
-
Methods inherited from class com.google.cloud.bigquery.storage.v1.Exceptions.StorageException
getActualOffset, getErrors, getExpectedOffset, getStreamName
-
Methods inherited from class io.grpc.StatusRuntimeException
fillInStackTrace, getStatus, getTrailers
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-