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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by com.google.api.ads.dfp.axis.v201204.ApplicationException
                          extended by com.google.api.ads.dfp.axis.v201204.ApiException
All Implemented Interfaces:
Serializable

public class ApiException
extends ApplicationException
implements Serializable

Exception class for holding a list of service errors.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
ApiException()
           
ApiException(String message1, String applicationExceptionType, ApiError[] errors)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 ApiError[] getErrors()
          Gets the errors value for this ApiException.
 ApiError getErrors(int i)
           
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 setErrors(ApiError[] errors)
          Sets the errors value for this ApiException.
 void setErrors(int i, ApiError _value)
           
 void writeDetails(QName qname, org.apache.axis.encoding.SerializationContext context)
          Writes the exception data to the faultDetails
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.ApplicationException
getApplicationExceptionType, getMessage1, setApplicationExceptionType, setMessage1
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiException

public ApiException()

ApiException

public ApiException(String message1,
                    String applicationExceptionType,
                    ApiError[] errors)
Method Detail

getErrors

public ApiError[] getErrors()
Gets the errors value for this ApiException.

Returns:
errors * List of errors.

setErrors

public void setErrors(ApiError[] errors)
Sets the errors value for this ApiException.

Parameters:
errors - * List of errors.

getErrors

public ApiError getErrors(int i)

setErrors

public void setErrors(int i,
                      ApiError _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ApplicationException

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


writeDetails

public void writeDetails(QName qname,
                         org.apache.axis.encoding.SerializationContext context)
                  throws IOException
Writes the exception data to the faultDetails

Overrides:
writeDetails in class ApplicationException
Throws:
IOException


Copyright © 2012. All Rights Reserved.