Send feedback
Class GoogleJsonError.ErrorInfo (2.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.0 keyboard_arrow_down
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
Inherited Members
com.google.api.client.json.GenericJson.clone()
com.google.api.client.json.GenericJson.getFactory()
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)
com.google.api.client.json.GenericJson.setFactory(com.google.api.client.json.JsonFactory)
com.google.api.client.json.GenericJson.toPrettyString()
com.google.api.client.json.GenericJson.toString()
com.google.api.client.util.GenericData.entrySet()
com.google.api.client.util.GenericData.equals(java.lang.Object)
com.google.api.client.util.GenericData.get(java.lang.Object)
com.google.api.client.util.GenericData.getClassInfo()
com.google.api.client.util.GenericData.getUnknownKeys()
com.google.api.client.util.GenericData.hashCode()
com.google.api.client.util.GenericData.put(java.lang.String,java.lang.Object)
com.google.api.client.util.GenericData.putAll(java.util.Map<? extends java.lang.String,?>)
com.google.api.client.util.GenericData.remove(java.lang.Object)
com.google.api.client.util.GenericData.setUnknownKeys(java.util.Map<java.lang.String,java.lang.Object>)
Constructors
ErrorInfo()
Methods
clone()
public GoogleJsonError . ErrorInfo clone ()
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 )
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]