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) |
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 |
location()
Deprecated.
|
String |
message()
Deprecated.
|
String |
reason()
Deprecated.
|
String |
toString() |
public BigQueryError(String reason, String location, String message, String debugInfo)
@Deprecated public String reason()
public String getReason()
@Deprecated public String location()
public String getLocation()
@Deprecated public String message()
public String getMessage()
Copyright © 2017 Google. All rights reserved.