com.google.api.ads.adwords.v201109.cm
Class QuotaError

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.ApiError
      extended by com.google.api.ads.adwords.v201109.cm.QuotaError
All Implemented Interfaces:
Serializable

public class QuotaError
extends ApiError
implements Serializable

Errors that are thrown if a quota limit is exceeded.

See Also:
Serialized Form

Constructor Summary
QuotaError()
           
QuotaError(String fieldPath, String trigger, String errorString, String apiErrorType, QuotaErrorReason reason, Integer limit)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getLimit()
          Gets the limit value for this QuotaError.
 QuotaErrorReason getReason()
          Gets the reason value for this QuotaError.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setLimit(Integer limit)
          Sets the limit value for this QuotaError.
 void setReason(QuotaErrorReason reason)
          Sets the reason value for this QuotaError.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.ApiError
getApiErrorType, getErrorString, getFieldPath, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTrigger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotaError

public QuotaError()

QuotaError

public QuotaError(String fieldPath,
                  String trigger,
                  String errorString,
                  String apiErrorType,
                  QuotaErrorReason reason,
                  Integer limit)
Method Detail

getReason

public QuotaErrorReason getReason()
Gets the reason value for this QuotaError.

Returns:
reason * The error reason represented by an enum.

setReason

public void setReason(QuotaErrorReason reason)
Sets the reason value for this QuotaError.

Parameters:
reason - * The error reason represented by an enum.

getLimit

public Integer getLimit()
Gets the limit value for this QuotaError.

Returns:
limit * The number of entities allowed for this quota.

setLimit

public void setLimit(Integer limit)
Sets the limit value for this QuotaError.

Parameters:
limit - * The number of entities allowed for this quota.

equals

public boolean equals(Object obj)
Overrides:
equals in class ApiError

hashCode

public int hashCode()
Overrides:
hashCode in class ApiError

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.