Class Exceptions.AppendSerializationError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.grpc.StatusRuntimeException
com.google.cloud.bigquery.storage.v1.Exceptions.AppendSerializtionError
com.google.cloud.bigquery.storage.v1.Exceptions.AppendSerializationError
All Implemented Interfaces:
Serializable
Enclosing class:
Exceptions

public static class Exceptions.AppendSerializationError extends Exceptions.AppendSerializtionError
This exception is thrown from 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.
See Also:
  • Constructor Details

    • AppendSerializationError

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