Exception BigQueryException (2.13.5)

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
NameDescription
codeint
messageString

BigQueryException(int code, String message, BigQueryError error)

public BigQueryException(int code, String message, BigQueryError error)
Parameters
NameDescription
codeint
messageString
errorBigQueryError

BigQueryException(int code, String message, Throwable cause)

public BigQueryException(int code, String message, Throwable cause)
Parameters
NameDescription
codeint
messageString
causeThrowable

BigQueryException(IOException exception)

public BigQueryException(IOException exception)
Parameter
NameDescription
exceptionIOException

BigQueryException(List<BigQueryError> errors)

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
BigQueryError

getErrors()

public List<BigQueryError> getErrors()

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

Returns
TypeDescription
List<BigQueryError>

hashCode()

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