com.google.api.ads.dfp.axis.v201111
Class InternalApiError

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

public class InternalApiError
extends ApiError
implements Serializable

Indicates that a server-side error has occured. InternalApiErrors are generally not the result of an invalid request or message sent by the client.

See Also:
Serialized Form

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

InternalApiError

public InternalApiError()

InternalApiError

public InternalApiError(String fieldPath,
                        String trigger,
                        String errorString,
                        String apiErrorType,
                        InternalApiErrorReason reason)
Method Detail

getReason

public InternalApiErrorReason getReason()
Gets the reason value for this InternalApiError.

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

setReason

public void setReason(InternalApiErrorReason reason)
Sets the reason value for this InternalApiError.

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

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.