public final class BigQueryException extends BaseHttpServiceException
BigQuery service exception. See Also: Google Cloud BigQuery error codes
Inherited Members
com.google.cloud.BaseServiceException.equals(java.lang.Object)
com.google.cloud.BaseServiceException.getCode()
com.google.cloud.BaseServiceException.getDebugInfo()
com.google.cloud.BaseServiceException.getLocation()
com.google.cloud.BaseServiceException.getReason()
com.google.cloud.BaseServiceException.hashCode()
com.google.cloud.BaseServiceException.isRetryable()
com.google.cloud.BaseServiceException.isRetryable(boolean,java.io.IOException)
com.google.cloud.BaseServiceException.isRetryable(java.lang.Integer,java.lang.String,boolean,java.util.Set<com.google.cloud.BaseServiceException.Error>)
com.google.cloud.BaseServiceException.translate(com.google.cloud.RetryHelper.RetryHelperException)
com.google.cloud.BaseServiceException.translate(java.util.concurrent.ExecutionException)
Constructors
BigQueryException(int code, String message)
public BigQueryException(int code, String message)
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)
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 |
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 |
com.google.cloud.BaseServiceException.hashCode()