Exception BigQuerySQLException (2.16.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
NameDescription
msgString

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
NameDescription
reasonString
sqlStateString
errorCodeint
causeThrowable
errorsList<BigQueryError>

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

public BigQuerySQLException(String reason, String sqlState, int errorCode, List<BigQueryError> errors)
Parameters
NameDescription
reasonString
sqlStateString
errorCodeint
errorsList<BigQueryError>

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

public BigQuerySQLException(String reason, String sqlState, List<BigQueryError> errors)
Parameters
NameDescription
reasonString
sqlStateString
errorsList<BigQueryError>

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

public BigQuerySQLException(String reason, Throwable cause, List<BigQueryError> errors)
Parameters
NameDescription
reasonString
causeThrowable
errorsList<BigQueryError>

BigQuerySQLException(String reason, List<BigQueryError> errors)

public BigQuerySQLException(String reason, List<BigQueryError> errors)
Parameters
NameDescription
reasonString
errorsList<BigQueryError>

BigQuerySQLException(List<BigQueryError> errors)

public BigQuerySQLException(List<BigQueryError> errors)
Parameter
NameDescription
errorsList<BigQueryError>

BigQuerySQLException(List<BigQueryError> errors, Throwable cause)

public BigQuerySQLException(List<BigQueryError> errors, Throwable cause)
Parameters
NameDescription
errorsList<BigQueryError>
causeThrowable

Methods

getErrors()

public List<BigQueryError> getErrors()

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

Returns
TypeDescription
List<BigQueryError>