Exception Exceptions.AppendSerializationError (2.45.0)

public static class Exceptions.AppendSerializationError extends Exceptions.AppendSerializtionError

This exception is thrown from <xref uid="com.google.cloud.bigquery.storage.v1.SchemaAwareStreamWriter.append(java.lang.Iterable<T>)" data-throw-if-not-resolved="false">SchemaAwareStreamWriter#append(Iterable) when the client side Proto serialization fails. It can also be thrown by the server in case rows contains invalid data. The exception contains a Map of indexes of faulty rows and the corresponding error message.

Constructors

AppendSerializationError(int codeValue, String description, String streamName, Map<Integer,String> rowIndexToErrorMessage)

public AppendSerializationError(int codeValue, String description, String streamName, Map<Integer,String> rowIndexToErrorMessage)
Parameters
NameDescription
codeValueint
descriptionString
streamNameString
rowIndexToErrorMessageMap<java.lang.Integer,String>