Class TrackingException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TrackingException
    extends java.lang.Exception
    Exception to be used when a tracking event fails to be pinged.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.List<TrackingEvent> getFailedTrackingEvents()  
      boolean hasFailedUris()  
      int hashCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TrackingException

        public TrackingException​(java.util.List<TrackingEvent> failedUris)
    • Method Detail

      • getFailedTrackingEvents

        public java.util.List<TrackingEvent> getFailedTrackingEvents()
        Returns:
        a list of TrackingEvent that failed to be pinged.
      • hasFailedUris

        public boolean hasFailedUris()
        Returns:
        whether there are failed uris.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object