public final class BigQueryError extends Object implements Serializable
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()
.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) |
String |
getDebugInfo() |
String |
getLocation()
Returns where the error occurred, if present.
|
String |
getMessage()
Returns a human-readable description of the error.
|
String |
getReason()
Returns short error code that summarizes the error.
|
int |
hashCode() |
String |
toString() |
public BigQueryError(String reason, String location, String message, String debugInfo)
public String getReason()
public String getLocation()
public String getDebugInfo()
public String getMessage()
Copyright © 2023 Google LLC. All rights reserved.