-
- All Implemented Interfaces:
-
java.io.Serializable
public class AnalyticsOutOfSpaceException extends IOException
An IOException that describes the reason why an AnalyticsEvent cannot be saved.
-
-
Field Summary
Fields Modifier and Type Field Description public final int
priority
public final String
type
public final Map<String, String>
parameters
public final long
backlogSize
public final long
backlogLimit
-
Constructor Summary
Constructors Constructor Description AnalyticsOutOfSpaceException(AnalyticsEvent event, long backlogSize, long backlogLimit, Throwable cause)
Constructs an instance of AnalyticsOutOfSpaceException
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AnalyticsOutOfSpaceException
AnalyticsOutOfSpaceException(AnalyticsEvent event, long backlogSize, long backlogLimit, Throwable cause)
Constructs an instance of AnalyticsOutOfSpaceException- Parameters:
event
- reference to the event that cannot be saved.backlogSize
- the current backlog size, expressed as total number of bytes.backlogLimit
- the current limit for backlog size, expressed as total number of bytes.cause
- reference the error that caused the event that required to be saved, if any.
-
-
-
-