Package com.google.cloud.bigquery
Class BigQuerySQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.google.cloud.bigquery.BigQuerySQLException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
BigQuery service exception.
-
Constructor Summary
ConstructorsConstructorDescriptionBigQuerySQLException(String reason, String sqlState, int errorCode, Throwable cause, List<BigQueryError> errors) BigQuerySQLException(String reason, String sqlState, int errorCode, List<BigQueryError> errors) BigQuerySQLException(String reason, String sqlState, List<BigQueryError> errors) BigQuerySQLException(String reason, Throwable cause, List<BigQueryError> errors) BigQuerySQLException(String reason, List<BigQueryError> errors) BigQuerySQLException(List<BigQueryError> errors) BigQuerySQLException(List<BigQueryError> errors, Throwable cause) -
Method Summary
Methods 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, spliterator
-
Constructor Details
-
BigQuerySQLException
public BigQuerySQLException() -
BigQuerySQLException
-
BigQuerySQLException
-
BigQuerySQLException
-
BigQuerySQLException
-
BigQuerySQLException
-
BigQuerySQLException
-
BigQuerySQLException
public BigQuerySQLException(String reason, String sqlState, int errorCode, List<BigQueryError> errors) -
BigQuerySQLException
public BigQuerySQLException(String reason, String sqlState, int errorCode, Throwable cause, List<BigQueryError> errors)
-
-
Method Details
-
getErrors
Returns a list ofBigQueryErrors that caused this exception. Returnsnullif none exists.
-