public abstract class ApiError extends Object
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
Java class for ApiError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApiError">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fieldPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="fieldPathElements" type="{https://adwords.google.com/api/adwords/cm/v201809}FieldPathElement" maxOccurs="unbounded" minOccurs="0"/>
<element name="trigger" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="errorString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ApiError.Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiErrorType |
protected String |
errorString |
protected String |
fieldPath |
protected List<FieldPathElement> |
fieldPathElements |
protected String |
trigger |
| Constructor and Description |
|---|
ApiError() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiErrorType()
Gets the value of the apiErrorType property.
|
String |
getErrorString()
Gets the value of the errorString property.
|
String |
getFieldPath()
Gets the value of the fieldPath property.
|
List<FieldPathElement> |
getFieldPathElements()
Gets the value of the fieldPathElements property.
|
String |
getTrigger()
Gets the value of the trigger property.
|
void |
setApiErrorType(String value)
Sets the value of the apiErrorType property.
|
void |
setErrorString(String value)
Sets the value of the errorString property.
|
void |
setFieldPath(String value)
Sets the value of the fieldPath property.
|
void |
setTrigger(String value)
Sets the value of the trigger property.
|
protected String fieldPath
protected List<FieldPathElement> fieldPathElements
protected String trigger
protected String errorString
protected String apiErrorType
public String getFieldPath()
Stringpublic void setFieldPath(String value)
value - allowed object is
Stringpublic List<FieldPathElement> getFieldPathElements()
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 fieldPathElements property.
For example, to add a new item, do as follows:
getFieldPathElements().add(newItem);
Objects of the following type(s) are allowed in the list
FieldPathElement
public String getTrigger()
Stringpublic void setTrigger(String value)
value - allowed object is
Stringpublic String getErrorString()
Stringpublic void setErrorString(String value)
value - allowed object is
Stringpublic String getApiErrorType()
StringCopyright © 2023. All rights reserved.