Class BigQueryError (2.13.3-SNAPSHOT)

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
NameDescription
reasonString
locationString
messageString

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

public BigQueryError(String reason, String location, String message, String debugInfo)
Parameters
NameDescription
reasonString
locationString
messageString
debugInfoString

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDebugInfo()

public String getDebugInfo()
Returns
TypeDescription
String

getLocation()

public String getLocation()

Returns where the error occurred, if present.

Returns
TypeDescription
String

getMessage()

public String getMessage()

Returns a human-readable description of the error.

Returns
TypeDescription
String

getReason()

public String getReason()

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

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides