Exception Exceptions.AppendSerializtionError (2.28.4)

public static class Exceptions.AppendSerializtionError extends StatusRuntimeException

This exception is thrown from JsonStreamWriter#append() when the client side Json to Proto serializtion 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

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

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

Methods

getRowIndexToErrorMessage()

public Map<Integer,String> getRowIndexToErrorMessage()
Returns
TypeDescription
Map<java.lang.Integer,String>

getStreamName()

public String getStreamName()
Returns
TypeDescription
String