Package com.google.cloud.bigquery
Class BigQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.cloud.BaseServiceException
com.google.cloud.http.BaseHttpServiceException
com.google.cloud.bigquery.BigQueryException
- All Implemented Interfaces:
Serializable
public final class BigQueryException
extends com.google.cloud.http.BaseHttpServiceException
BigQuery service exception.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.BaseServiceException
com.google.cloud.BaseServiceException.Error, com.google.cloud.BaseServiceException.ExceptionData
-
Field Summary
Fields inherited from class com.google.cloud.http.BaseHttpServiceException
UNKNOWN_CODE
-
Constructor Summary
ConstructorDescriptionBigQueryException
(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) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getError()
Returns theBigQueryError
that caused this exception.Returns a list ofBigQueryError
s that caused this exception.int
hashCode()
Methods inherited from class com.google.cloud.BaseServiceException
getCode, getDebugInfo, getLocation, getReason, isRetryable, isRetryable, isRetryable, translate, translate
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BigQueryException
-
BigQueryException
-
BigQueryException
-
BigQueryException
-
BigQueryException
-
-
Method Details
-
getError
Returns theBigQueryError
that caused this exception. Returnsnull
if none exists. -
getErrors
Returns a list ofBigQueryError
s that caused this exception. Returnsnull
if none exists. -
equals
- Overrides:
equals
in classcom.google.cloud.BaseServiceException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.google.cloud.BaseServiceException
-