public class QueryError extends ApiError
Java class for QueryError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QueryError">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ApiError">
<sequence>
<element name="reason" type="{https://adwords.google.com/api/adwords/cm/v201809}QueryError.Reason" minOccurs="0"/>
<element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
message |
protected QueryErrorReason |
reason |
apiErrorType, errorString, fieldPath, fieldPathElements, trigger| Constructor and Description |
|---|
QueryError() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the value of the message property.
|
QueryErrorReason |
getReason()
Gets the value of the reason property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setReason(QueryErrorReason value)
Sets the value of the reason property.
|
getApiErrorType, getErrorString, getFieldPath, getFieldPathElements, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTriggerprotected QueryErrorReason reason
protected String message
public QueryErrorReason getReason()
QueryErrorReasonpublic void setReason(QueryErrorReason value)
value - allowed object is
QueryErrorReasonpublic String getMessage()
StringCopyright © 2023. All rights reserved.