Exception Exceptions.AppendSerializtionError (2.20.1)

public static class Exceptions.AppendSerializtionError extends RuntimeException

This exception is thrown from JsonStreamWriter#append() when the client side Json to Proto serializtion fails. The exception contains a Map of indexes of faulty lines and the corresponding error message.

Constructors

AppendSerializtionError(String streamName, Map<Integer,String> rowIndexToErrorMessage)

public AppendSerializtionError(String streamName, Map<Integer,String> rowIndexToErrorMessage)
Parameters
NameDescription
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