com.google.api.client.googleapis.json
Class GoogleJsonError.ErrorInfo

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.client.googleapis.json.GoogleJsonError.ErrorInfo
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
GoogleJsonError

public static class GoogleJsonError.ErrorInfo
extends GenericJson

Detailed error information.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 String domain
          Deprecated. (scheduled to be made private in 1.9) Use getDomain() or setDomain(java.lang.String)
 String location
          Deprecated. (scheduled to be made private in 1.9) Use getLocation() or setLocation(java.lang.String)
 String locationType
          Deprecated. (scheduled to be made private in 1.9) Use getLocationType() or setLocationType(java.lang.String)
 String message
          Deprecated. (scheduled to be made private in 1.9) Use getMessage() or setMessage(java.lang.String)
 String reason
          Deprecated. (scheduled to be made private in 1.9) Use getReason() or setReason(java.lang.String)
 
Constructor Summary
GoogleJsonError.ErrorInfo()
           
 
Method Summary
 String getDomain()
          Returns the error classification or null for none.
 String getLocation()
          Returns the location in the request that caused the error or null for none or null for none.
 String getLocationType()
          Returns the type of location in the request that caused the error or null for none.
 String getMessage()
          Returns the human readable explanation of the error or null for none.
 String getReason()
          Returns the error reason or null for none.
 void setDomain(String domain)
          Sets the error classification or null for none.
 void setLocation(String location)
          Sets the location in the request that caused the error or null for none or null for none.
 void setLocationType(String locationType)
          Sets the type of location in the request that caused the error or null for none.
 void setMessage(String message)
          Sets the human readable explanation of the error or null for none.
 void setReason(String reason)
          Sets the error reason or null for none.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

domain

@Deprecated
public String domain
Deprecated. (scheduled to be made private in 1.9) Use getDomain() or setDomain(java.lang.String)
Error classification or null for none.


reason

@Deprecated
public String reason
Deprecated. (scheduled to be made private in 1.9) Use getReason() or setReason(java.lang.String)
Error reason or null for none.


message

@Deprecated
public String message
Deprecated. (scheduled to be made private in 1.9) Use getMessage() or setMessage(java.lang.String)
Human readable explanation of the error or null for none.


location

@Deprecated
public String location
Deprecated. (scheduled to be made private in 1.9) Use getLocation() or setLocation(java.lang.String)
Location in the request that caused the error or null for none or null for none.


locationType

@Deprecated
public String locationType
Deprecated. (scheduled to be made private in 1.9) Use getLocationType() or setLocationType(java.lang.String)
Type of location in the request that caused the error or null for none.

Constructor Detail

GoogleJsonError.ErrorInfo

public GoogleJsonError.ErrorInfo()
Method Detail

getDomain

public final String getDomain()
Returns the error classification or null for none.

Since:
1.8

setDomain

public final void setDomain(String domain)
Sets the error classification or null for none.

Since:
1.8

getReason

public final String getReason()
Returns the error reason or null for none.

Since:
1.8

setReason

public final void setReason(String reason)
Sets the error reason or null for none.

Since:
1.8

getMessage

public final String getMessage()
Returns the human readable explanation of the error or null for none.

Since:
1.8

setMessage

public final void setMessage(String message)
Sets the human readable explanation of the error or null for none.

Since:
1.8

getLocation

public final String getLocation()
Returns the location in the request that caused the error or null for none or null for none.

Since:
1.8

setLocation

public final void setLocation(String location)
Sets the location in the request that caused the error or null for none or null for none.

Since:
1.8

getLocationType

public final String getLocationType()
Returns the type of location in the request that caused the error or null for none.

Since:
1.8

setLocationType

public final void setLocationType(String locationType)
Sets the type of location in the request that caused the error or null for none.

Since:
1.8


Copyright © 2010-2012 Google. All Rights Reserved.