Package com.google.cloud.spanner.jdbc
Class JdbcSqlExceptionFactory.JdbcSqlClientInfoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLClientInfoException
com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlClientInfoException
- All Implemented Interfaces:
JdbcSqlException,Serializable,Iterable<Throwable>
- Enclosing class:
- JdbcSqlExceptionFactory
public static class JdbcSqlExceptionFactory.JdbcSqlClientInfoException
extends SQLClientInfoException
implements JdbcSqlException
Specific
SQLException that is thrown when setting client info on a connection- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.rpc.CodegetCode()Returns the corresponding gRPC code for this exceptionMethods inherited from class java.sql.SQLClientInfoException
getFailedPropertiesMethods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.google.cloud.spanner.jdbc.JdbcSqlException
getCause, getErrorCode, getMessage, getSQLState
-
Method Details
-
getCode
public com.google.rpc.Code getCode()Description copied from interface:JdbcSqlExceptionReturns the corresponding gRPC code for this exception- Specified by:
getCodein interfaceJdbcSqlException
-