Exception BigQuerySQLException (2.40.1)

public final class BigQuerySQLException extends SQLException

BigQuery service exception. See Also: Google Cloud BigQuery error codes

Constructors

BigQuerySQLException()

public BigQuerySQLException()

BigQuerySQLException(String msg)

public BigQuerySQLException(String msg)
Parameter
Name Description
msg String

BigQuerySQLException(String reason, String sqlState, int errorCode, Throwable cause, List<BigQueryError> errors)

public BigQuerySQLException(String reason, String sqlState, int errorCode, Throwable cause, List<BigQueryError> errors)
Parameters
Name Description
reason String
sqlState String
errorCode int
cause Throwable
errors List<BigQueryError>

BigQuerySQLException(String reason, String sqlState, int errorCode, List<BigQueryError> errors)

public BigQuerySQLException(String reason, String sqlState, int errorCode, List<BigQueryError> errors)
Parameters
Name Description
reason String
sqlState String
errorCode int
errors List<BigQueryError>

BigQuerySQLException(String reason, String sqlState, List<BigQueryError> errors)

public BigQuerySQLException(String reason, String sqlState, List<BigQueryError> errors)
Parameters
Name Description
reason String
sqlState String
errors List<BigQueryError>

BigQuerySQLException(String reason, Throwable cause, List<BigQueryError> errors)

public BigQuerySQLException(String reason, Throwable cause, List<BigQueryError> errors)
Parameters
Name Description
reason String
cause Throwable
errors List<BigQueryError>

BigQuerySQLException(String reason, List<BigQueryError> errors)

public BigQuerySQLException(String reason, List<BigQueryError> errors)
Parameters
Name Description
reason String
errors List<BigQueryError>

BigQuerySQLException(List<BigQueryError> errors)

public BigQuerySQLException(List<BigQueryError> errors)
Parameter
Name Description
errors List<BigQueryError>

BigQuerySQLException(List<BigQueryError> errors, Throwable cause)

public BigQuerySQLException(List<BigQueryError> errors, Throwable cause)
Parameters
Name Description
errors List<BigQueryError>
cause Throwable

Methods

getErrors()

public List<BigQueryError> getErrors()

Returns a list of BigQueryErrors that caused this exception. Returns null if none exists.

Returns
Type Description
List<BigQueryError>