com.google.api.adwords.v11
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.adwords.v11.ApiException
All Implemented Interfaces:
java.io.Serializable

public class ApiException
extends org.apache.axis.AxisFault
implements java.io.Serializable

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(int code, ApiError[] errors, boolean internal, java.lang.String message1, java.lang.String trigger)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getCode()
          Gets the code value for this ApiException.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 ApiError[] getErrors()
          Gets the errors value for this ApiException.
 ApiError getErrors(int i)
           
 java.lang.String getMessage1()
          Gets the message1 value for this ApiException.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTrigger()
          Gets the trigger value for this ApiException.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isInternal()
          Gets the internal value for this ApiException.
 void setCode(int code)
          Sets the code value for this ApiException.
 void setErrors(ApiError[] errors)
          Sets the errors value for this ApiException.
 void setErrors(int i, ApiError _value)
           
 void setInternal(boolean internal)
          Sets the internal value for this ApiException.
 void setMessage1(java.lang.String message1)
          Sets the message1 value for this ApiException.
 void setTrigger(java.lang.String trigger)
          Sets the trigger value for this ApiException.
 void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
          Writes the exception data to the faultDetails
 
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(int code,
                    ApiError[] errors,
                    boolean internal,
                    java.lang.String message1,
                    java.lang.String trigger)
Method Detail

getCode

public int getCode()
Gets the code value for this ApiException.

Returns:
code

setCode

public void setCode(int code)
Sets the code value for this ApiException.

Parameters:
code -

getErrors

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

Returns:
errors

setErrors

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

Parameters:
errors -

getErrors

public ApiError getErrors(int i)

setErrors

public void setErrors(int i,
                      ApiError _value)

isInternal

public boolean isInternal()
Gets the internal value for this ApiException.

Returns:
internal

setInternal

public void setInternal(boolean internal)
Sets the internal value for this ApiException.

Parameters:
internal -

getMessage1

public java.lang.String getMessage1()
Gets the message1 value for this ApiException.

Returns:
message1

setMessage1

public void setMessage1(java.lang.String message1)
Sets the message1 value for this ApiException.

Parameters:
message1 -

getTrigger

public java.lang.String getTrigger()
Gets the trigger value for this ApiException.

Returns:
trigger

setTrigger

public void setTrigger(java.lang.String trigger)
Sets the trigger value for this ApiException.

Parameters:
trigger -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

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


getSerializer

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


getDeserializer

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


writeDetails

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

Overrides:
writeDetails in class org.apache.axis.AxisFault
Throws:
java.io.IOException


Copyright © 2005 Google Corp. All Rights Reserved.