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
BigQueryError s that caused this exception. |
int |
hashCode() |
getCode, getDebugInfo, getLocation, getReason, isRetryable, isRetryable, isRetryable, translate, translate
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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()
BigQueryError
s that caused this exception. Returns null
if
none exists.public boolean equals(Object obj)
equals
in class com.google.cloud.BaseServiceException
public int hashCode()
hashCode
in class com.google.cloud.BaseServiceException
Copyright © 2023 Google LLC. All rights reserved.