Class AnalyticsRetryLimitException

All Implemented Interfaces:

public class AnalyticsRetryLimitException extends IOException
An IOException that describes the reason why an AnalyticsEvent cannot be sent.
See Also:
  • Field Details

    • priority

      public final int priority
      The priority of the event.
    • type

      @NonNull public final String type
      The type of the analytics event.
    • parameters

      @NonNull public final Map<String,String> parameters
      An immutable map of HTTP query parameter names and values to be sent to the server.
    • attemptsMade

      public final long attemptsMade
      The total number of attempts made to send the event.
    • retryLimit

      public final long retryLimit
      The maximum number of attempts that can be made to send events of priority.
  • Constructor Details

    • AnalyticsRetryLimitException

      public AnalyticsRetryLimitException(@NonNull event, long retryLimit, @Nullable Exception cause)
      Constructs an instance of AnalyticsRetryLimitException
      event - reference to the event that cannot be saved.
      retryLimit - the maximum number of attempts that can be made to send event of priority.
      cause - the reason for failure, if any