Class AbstractErrorUtils.ErrorPath<GoogleAdsErrorType extends com.google.protobuf.Message>
java.lang.Object
com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath<GoogleAdsErrorType>
- Enclosing class:
- AbstractErrorUtils<GoogleAdsFailureT extends com.google.protobuf.Message,
GoogleAdsErrorT extends com.google.protobuf.Message, FieldPathElementT extends com.google.protobuf.Message>
protected static class AbstractErrorUtils.ErrorPath<GoogleAdsErrorType extends com.google.protobuf.Message>
extends Object
Wrapper around a (@link GoogleAdsErrorT} specifying the location the error occurred, if
available.
Although multiple field paths are possible in a GoogleAdsError, this object only contains
the first FieldPathElement. Currently this is the only element required to identify which
operation caused the failure, though future updates may expand on this class to provide
additional information from the FieldPathElements.
-
Constructor Details
-
ErrorPath
-
-
Method Details
-
getError
-
getFieldName
-
getIndex
Returns the index portion of this error path element. -
isOperationIndex
public boolean isOperationIndex()Returns if the field represents the portion of the error path that identifies the index of an operation in a request.
-