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

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

public class FailureResult
extends OperationResult
implements Serializable

Represents a failure result for an individual mutate operation.

Currently, operations are applied in transactional batches, so the corresponding operation for this result may not itself be faulty.

The errors in the exception may contain OGNL paths that identify the faulty operations in the batch. Please see the subsequent BatchFailureResults to determine the remaining operations that were also applied in the batch and their positions within the batch.

See Also:
Serialized Form

Constructor Summary
FailureResult()
           
FailureResult(String operationResultType, ApiException cause)
           
 
Method Summary
 boolean equals(Object obj)
           
 ApiException getCause()
          Gets the cause value for this FailureResult.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
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 setCause(ApiException cause)
          Sets the cause value for this FailureResult.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.OperationResult
getOperationResultType, setOperationResultType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureResult

public FailureResult()

FailureResult

public FailureResult(String operationResultType,
                     ApiException cause)
Method Detail

getCause

public ApiException getCause()
Gets the cause value for this FailureResult.

Returns:
cause * The exception describing the failure that occurred in processing the mutate operation.

setCause

public void setCause(ApiException cause)
Sets the cause value for this FailureResult.

Parameters:
cause - * The exception describing the failure that occurred in processing the mutate operation.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class OperationResult

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.