Class ScrapeFailedAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<com.frostwire.jlibtorrent.swig.scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<com.frostwire.jlibtorrent.swig.scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.TrackerAlert<com.frostwire.jlibtorrent.swig.scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.ScrapeFailedAlert
All Implemented Interfaces:
Alert<com.frostwire.jlibtorrent.swig.scrape_failed_alert>

public final class ScrapeFailedAlert extends TrackerAlert<com.frostwire.jlibtorrent.swig.scrape_failed_alert>
If a scrape request fails, this alert is generated. This might be due to the tracker timing out, refusing connection or returning an http response code indicating an error.
  • Constructor Details

    • ScrapeFailedAlert

      public ScrapeFailedAlert(com.frostwire.jlibtorrent.swig.scrape_failed_alert alert)
  • Method Details

    • error

      public ErrorCode error()
      The error itself. This may indicate that the tracker sent an error message (``error::tracker_failure``), in which case it can be retrieved by calling .
      Returns:
    • errorMessage

      public String errorMessage()
      If the error indicates there is an associated message, this returns that message. Otherwise and empty string.
      Returns: