Package com.brightcove.player.analytics
Class AnalyticsRetryLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.brightcove.player.analytics.AnalyticsRetryLimitException
- All Implemented Interfaces:
Serializable
An
IOException
that describes the reason why an AnalyticsEvent
cannot be sent.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
The total number of attempts made to send the event.An immutable map of HTTP query parameter names and values to be sent to the server.final int
The priority of the event.final long
The maximum number of attempts that can be made to send events ofpriority
.final String
The type of the analytics event. -
Constructor Summary
ConstructorDescriptionAnalyticsRetryLimitException
(com.brightcove.player.analytics.AnalyticsEvent event, long retryLimit, Exception cause) Constructs an instance ofAnalyticsRetryLimitException
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
priority
public final int priorityThe priority of the event. -
type
The type of the analytics event. -
parameters
An immutable map of HTTP query parameter names and values to be sent to the server. -
attemptsMade
public final long attemptsMadeThe total number of attempts made to send the event. -
retryLimit
public final long retryLimitThe maximum number of attempts that can be made to send events ofpriority
.
-
-
Constructor Details
-
AnalyticsRetryLimitException
public AnalyticsRetryLimitException(@NonNull com.brightcove.player.analytics.AnalyticsEvent event, long retryLimit, @Nullable Exception cause) Constructs an instance ofAnalyticsRetryLimitException
- Parameters:
event
- reference to the event that cannot be saved.retryLimit
- the maximum number of attempts that can be made to send event ofpriority
.cause
- the reason for failure, if any
-