
com.google.api.ads.dfp.axis.v201605.ApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-axis Show documentation
Show all versions of dfp-axis Show documentation
Ad Manager specific Axis components.
/**
* ApiException.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201605;
/**
* Exception class for holding a list of service errors.
*/
public class ApiException extends com.google.api.ads.dfp.axis.v201605.ApplicationException implements java.io.Serializable {
/* List of errors. */
private com.google.api.ads.dfp.axis.v201605.ApiError[] errors;
public ApiException() {
}
public ApiException(
java.lang.String message1,
com.google.api.ads.dfp.axis.v201605.ApiError[] errors) {
super(
message1);
this.errors = errors;
}
/**
* Gets the errors value for this ApiException.
*
* @return errors * List of errors.
*/
public com.google.api.ads.dfp.axis.v201605.ApiError[] getErrors() {
return errors;
}
/**
* Sets the errors value for this ApiException.
*
* @param errors * List of errors.
*/
public void setErrors(com.google.api.ads.dfp.axis.v201605.ApiError[] errors) {
this.errors = errors;
}
public com.google.api.ads.dfp.axis.v201605.ApiError getErrors(int i) {
return this.errors[i];
}
public void setErrors(int i, com.google.api.ads.dfp.axis.v201605.ApiError _value) {
this.errors[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ApiException)) return false;
ApiException other = (ApiException) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = super.equals(obj) &&
((this.errors==null && other.getErrors()==null) ||
(this.errors!=null &&
java.util.Arrays.equals(this.errors, other.getErrors())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = super.hashCode();
if (getErrors() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy