Class ErrorUtils
- java.lang.Object
-
- com.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
- com.google.ads.googleads.v10.utils.ErrorUtils
-
public class ErrorUtils extends com.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
-
Constructor Summary
Constructors Constructor Description ErrorUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath<GoogleAdsError>createErrorPath(GoogleAdsError error, ErrorLocation.FieldPathElement pathElement)java.util.List<ErrorLocation.FieldPathElement>getFieldPathElements(GoogleAdsError googleAdsError)java.util.List<GoogleAdsError>getGoogleAdsErrors(GoogleAdsFailure googleAdsFailure)java.lang.Class<GoogleAdsFailure>getGoogleAdsFailureClass()static ErrorUtilsgetInstance()
-
-
-
Method Detail
-
getInstance
public static ErrorUtils getInstance()
-
createErrorPath
public com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath<GoogleAdsError> createErrorPath(GoogleAdsError error, ErrorLocation.FieldPathElement pathElement)
- Specified by:
createErrorPathin classcom.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
getFieldPathElements
public java.util.List<ErrorLocation.FieldPathElement> getFieldPathElements(GoogleAdsError googleAdsError)
- Specified by:
getFieldPathElementsin classcom.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
getGoogleAdsErrors
public java.util.List<GoogleAdsError> getGoogleAdsErrors(GoogleAdsFailure googleAdsFailure)
- Specified by:
getGoogleAdsErrorsin classcom.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
getGoogleAdsFailureClass
public java.lang.Class<GoogleAdsFailure> getGoogleAdsFailureClass()
- Specified by:
getGoogleAdsFailureClassin classcom.google.ads.googleads.lib.utils.AbstractErrorUtils<GoogleAdsFailure,GoogleAdsError,ErrorLocation.FieldPathElement>
-
-