Exception JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException (2.17.0)

public static class JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException extends BatchUpdateException implements JdbcSqlException

Specific SQLException that is thrown when a SpannerBatchUpdateException occurs.

Implements

JdbcSqlException

Methods

getCode()

public Code getCode()

Returns the corresponding gRPC code for this exception

Returns
Type Description
com.google.rpc.Code