Class BigQueryError (2.40.1)

public final class BigQueryError implements 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().

Inheritance

Object > BigQueryError

Implements

Serializable

Constructors

BigQueryError(String reason, String location, String message)

public BigQueryError(String reason, String location, String message)
Parameters
Name Description
reason String
location String
message String

BigQueryError(String reason, String location, String message, String debugInfo)

public BigQueryError(String reason, String location, String message, String debugInfo)
Parameters
Name Description
reason String
location String
message String
debugInfo String

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDebugInfo()

public String getDebugInfo()
Returns
Type Description
String

getLocation()

public String getLocation()

Returns where the error occurred, if present.

Returns
Type Description
String

getMessage()

public String getMessage()

Returns a human-readable description of the error.

Returns
Type Description
String

getReason()

public String getReason()

Returns short error code that summarizes the error. See Also: Troubleshooting Errors

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides