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.
See Also:
  • Constructor Details

    • BigQueryException

      public BigQueryException(int code, String message)
    • BigQueryException

      public BigQueryException(int code, String message, Throwable cause)
    • BigQueryException

      public BigQueryException(int code, String message, BigQueryError error)
    • BigQueryException

      public BigQueryException(List<BigQueryError> errors)
    • BigQueryException

      public BigQueryException(IOException exception)
  • Method Details

    • getError

      public BigQueryError getError()
      Returns the BigQueryError that caused this exception. Returns null if none exists.
    • getErrors

      public List<BigQueryError> getErrors()
      Returns a list of BigQueryErrors that caused this exception. Returns null if none exists.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class com.google.cloud.BaseServiceException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.google.cloud.BaseServiceException