Package com.google.cloud.spanner.jdbc
Class JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.BatchUpdateException
-
- com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException
-
- All Implemented Interfaces:
JdbcSqlException
,Serializable
,Iterable<Throwable>
- Enclosing class:
- JdbcSqlExceptionFactory
public static class JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException extends BatchUpdateException implements JdbcSqlException
SpecificSQLException
that is thrown when aSpannerBatchUpdateException
occurs.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.rpc.Code
getCode()
Returns the corresponding gRPC code for this exception-
Methods inherited from class java.sql.BatchUpdateException
getLargeUpdateCounts, getUpdateCounts
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface com.google.cloud.spanner.jdbc.JdbcSqlException
getCause, getErrorCode, getMessage, getSQLState
-
-
-
-
Method Detail
-
getCode
public com.google.rpc.Code getCode()
Description copied from interface:JdbcSqlException
Returns the corresponding gRPC code for this exception- Specified by:
getCode
in interfaceJdbcSqlException
-
-