Exception BigQueryException (2.42.1)

public final class BigQueryException extends BaseHttpServiceException

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

Constructors

BigQueryException(int code, String message)

public BigQueryException(int code, String message)
Parameters
Name Description
code int
message String

BigQueryException(int code, String message, BigQueryError error)

public BigQueryException(int code, String message, BigQueryError error)
Parameters
Name Description
code int
message String
error BigQueryError

BigQueryException(int code, String message, Throwable cause)

public BigQueryException(int code, String message, Throwable cause)
Parameters
Name Description
code int
message String
cause Throwable

BigQueryException(IOException exception)

public BigQueryException(IOException exception)
Parameter
Name Description
exception IOException

BigQueryException(List<BigQueryError> errors)

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
com.google.cloud.BaseServiceException.equals(java.lang.Object)

getError()

public BigQueryError getError()

Returns the BigQueryError that caused this exception. Returns null if none exists.

Returns
Type Description
BigQueryError

getErrors()

public List<BigQueryError> getErrors()

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

Returns
Type Description
List<BigQueryError>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides
com.google.cloud.BaseServiceException.hashCode()