public final class BigQueryError extends Object implements Serializable
JobStatus.error(). A job can also encounter errors during its execution that do not cause
the whole job to fail (see JobStatus.executionErrors()). Similarly, queries and insert
all requests can cause BigQuery errors that do not mean the whole operation failed (see
QueryResponse.executionErrors() and InsertAllResponse.insertErrors()). When a
BigQueryException is thrown the BigQuery Error that caused it, if any, can be accessed
with BigQueryException.error().| Constructor and Description |
|---|
BigQueryError(String reason,
String location,
String message) |
BigQueryError(String reason,
String location,
String message,
String debugInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
location()
Returns where the error occurred, if present.
|
String |
message()
Returns a human-readable description of the error.
|
String |
reason()
Returns short error code that summarizes the error.
|
String |
toString() |
public BigQueryError(String reason, String location, String message, String debugInfo)
public String reason()
public String location()
public String message()
Copyright © 2016 Google. All rights reserved.