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>
public final class BigQuerySQLException extends SQLException
BigQuery service exception.- See Also:
- Google Cloud BigQuery error codes, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BigQuerySQLException()
BigQuerySQLException(String msg)
BigQuerySQLException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BigQueryError>
getErrors()
Returns a list ofBigQueryError
s that caused this exception.-
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
-
-
-
-
Constructor Detail
-
BigQuerySQLException
public BigQuerySQLException()
-
BigQuerySQLException
public BigQuerySQLException(String msg)
-
BigQuerySQLException
public BigQuerySQLException(List<BigQueryError> errors)
-
BigQuerySQLException
public BigQuerySQLException(List<BigQueryError> errors, Throwable cause)
-
BigQuerySQLException
public BigQuerySQLException(String reason, List<BigQueryError> errors)
-
BigQuerySQLException
public BigQuerySQLException(String reason, Throwable cause, List<BigQueryError> errors)
-
BigQuerySQLException
public BigQuerySQLException(String reason, String sqlState, List<BigQueryError> errors)
-
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 Detail
-
getErrors
public List<BigQueryError> getErrors()
Returns a list ofBigQueryError
s that caused this exception. Returnsnull
if none exists.
-
-