Class GoogleJsonError.ErrorInfo (2.1.2)

public static class GoogleJsonError.ErrorInfo extends GenericJson

Detailed error information.

Inheritance

Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.json.GenericJson > GoogleJsonError.ErrorInfo

Constructors

ErrorInfo()

public ErrorInfo()

Methods

clone()

public GoogleJsonError.ErrorInfo clone()
Returns
Type Description
GoogleJsonError.ErrorInfo
Overrides
com.google.api.client.json.GenericJson.clone()

getDomain()

public final String getDomain()

Returns the error classification or null for none.

Returns
Type Description
String

getLocation()

public final String getLocation()

Returns the location in the request that caused the error or null for none or null for none.

Returns
Type Description
String

getLocationType()

public final String getLocationType()

Returns the type of location in the request that caused the error or null for none.

Returns
Type Description
String

getMessage()

public final String getMessage()

Returns the human readable explanation of the error or null for none.

Returns
Type Description
String

getReason()

public final String getReason()

Returns the error reason or null for none.

Returns
Type Description
String

set(String fieldName, Object value)

public GoogleJsonError.ErrorInfo set(String fieldName, Object value)
Parameters
Name Description
fieldName String
value Object
Returns
Type Description
GoogleJsonError.ErrorInfo
Overrides
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)

setDomain(String domain)

public final void setDomain(String domain)

Sets the error classification or null for none.

Parameter
Name Description
domain String

setLocation(String location)

public final void setLocation(String location)

Sets the location in the request that caused the error or null for none or null for none.

Parameter
Name Description
location String

setLocationType(String locationType)

public final void setLocationType(String locationType)

Sets the type of location in the request that caused the error or null for none.

Parameter
Name Description
locationType String

setMessage(String message)

public final void setMessage(String message)

Sets the human readable explanation of the error or null for none.

Parameter
Name Description
message String

setReason(String reason)

public final void setReason(String reason)

Sets the error reason or null for none.

Parameter
Name Description
reason String