public class ApiException extends ApplicationException
Java class for ApiException complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApiException">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ApplicationException">
<sequence>
<element name="errors" type="{https://adwords.google.com/api/adwords/cm/v201809}ApiError" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ApiError> |
errors |
applicationExceptionType, message| Constructor and Description |
|---|
ApiException() |
| Modifier and Type | Method and Description |
|---|---|
List<ApiError> |
getErrors()
Gets the value of the errors property.
|
getApplicationExceptionType, getMessage, setApplicationExceptionType, setMessagepublic List<ApiError> getErrors()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the errors property.
For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list
ApiError
Copyright © 2023. All rights reserved.