public interface JdbcSqlException
Base interface for all Cloud Spanner SQLExceptions. All SQLExceptions that are thrown by the Cloud Spanner JDBC driver implement this interface.
Methods
getCause()
public abstract Throwable getCause()
See Also: Throwable#getCause()
Type | Description |
Throwable |
getCode()
public abstract Code getCode()
Returns the corresponding gRPC code for this exception
Type | Description |
com.google.rpc.Code |
getErrorCode()
public abstract int getErrorCode()
Returns the gRPC error code as an int
Type | Description |
int |
getMessage()
public abstract String getMessage()
See Also: Throwable#getMessage()
Type | Description |
String |
getSQLState()
public abstract String getSQLState()
See Also: SQLException#getSQLState()
Type | Description |
String |