public final class BigQueryException
extends com.google.cloud.http.BaseHttpServiceException
| Constructor and Description |
|---|
BigQueryException(int code,
String message) |
BigQueryException(int code,
String message,
BigQueryError error) |
BigQueryException(int code,
String message,
Throwable cause) |
BigQueryException(IOException exception) |
BigQueryException(List<BigQueryError> errors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigQueryError |
getError()
Returns the
BigQueryError that caused this exception. |
List<BigQueryError> |
getErrors()
Returns a list of
BigQueryErrors that caused this exception. |
int |
hashCode() |
getCode, getDebugInfo, getLocation, getReason, isRetryable, isRetryable, isRetryable, translate, translateaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BigQueryException(int code,
String message)
public BigQueryException(int code,
String message,
BigQueryError error)
public BigQueryException(List<BigQueryError> errors)
public BigQueryException(IOException exception)
public BigQueryError getError()
BigQueryError that caused this exception. Returns null if none
exists.public List<BigQueryError> getErrors()
BigQueryErrors that caused this exception. Returns null if
none exists.public boolean equals(Object obj)
equals in class com.google.cloud.BaseServiceExceptionpublic int hashCode()
hashCode in class com.google.cloud.BaseServiceExceptionCopyright © 2021 Google LLC. All rights reserved.