com.google.api.ads.dfp.axis.v201204
Class CommonError

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.ApiError
      extended by com.google.api.ads.dfp.axis.v201204.CommonError
All Implemented Interfaces:
Serializable

public class CommonError
extends ApiError
implements Serializable

A place for common errors that can be used across services.

See Also:
Serialized Form

Constructor Summary
CommonError()
           
CommonError(String fieldPath, String trigger, String errorString, String apiErrorType, CommonErrorReason reason)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 CommonErrorReason getReason()
          Gets the reason value for this CommonError.
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 setReason(CommonErrorReason reason)
          Sets the reason value for this CommonError.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.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

CommonError

public CommonError()

CommonError

public CommonError(String fieldPath,
                   String trigger,
                   String errorString,
                   String apiErrorType,
                   CommonErrorReason reason)
Method Detail

getReason

public CommonErrorReason getReason()
Gets the reason value for this CommonError.

Returns:
reason

setReason

public void setReason(CommonErrorReason reason)
Sets the reason value for this CommonError.

Parameters:
reason -

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 © 2012. All Rights Reserved.