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
ConstructorsConstructorDescriptionBigQueryException(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 TypeMethodDescriptionbooleangetError()Returns theBigQueryErrorthat caused this exception.Returns a list ofBigQueryErrors that caused this exception.inthashCode()Methods inherited from class com.google.cloud.BaseServiceException
getCode, getDebugInfo, getLocation, getReason, isRetryable, isRetryable, isRetryable, translate, translateMethods 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 theBigQueryErrorthat caused this exception. Returnsnullif none exists. -
getErrors
Returns a list ofBigQueryErrors that caused this exception. Returnsnullif none exists. -
equals
- Overrides:
equalsin classcom.google.cloud.BaseServiceException
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.google.cloud.BaseServiceException
-