Package com.google.cloud.bigquery
Class BigQueryError
java.lang.Object
com.google.cloud.bigquery.BigQueryError
- All Implemented Interfaces:
Serializable
Google Cloud BigQuery Error. Objects of this class represent errors encountered by the BigQuery
service while executing a request. A BigQuery Job that terminated with an error has a non-null
JobStatus.getError()
. A job can also encounter errors during its execution that do not
cause the whole job to fail (see JobStatus.getExecutionErrors()
). Similarly, queries and
insert all requests can cause BigQuery errors that do not mean the whole operation failed (see
JobStatus.getExecutionErrors()
and InsertAllResponse.getInsertErrors()
). When a
BigQueryException
is thrown the BigQuery Error that caused it, if any, can be accessed
with BigQueryException.getError()
.- See Also:
-
Constructor Summary
ConstructorDescriptionBigQueryError
(String reason, String location, String message) BigQueryError
(String reason, String location, String message, String debugInfo) -
Method Summary
-
Constructor Details
-
BigQueryError
-
BigQueryError
-
-
Method Details
-
getReason
Returns short error code that summarizes the error.- See Also:
-
getLocation
Returns where the error occurred, if present. -
getDebugInfo
-
getMessage
Returns a human-readable description of the error. -
hashCode
public int hashCode() -
toString
-
equals
-