Class DownloadException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public final class DownloadException
    extends IOException
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Thrown on an error during downloading.
    See Also:
    Serialized Form
    • Constructor Detail

      • DownloadException

        public DownloadException​(String message)
        Deprecated.
        Parameters:
        message - The message for the exception.
      • DownloadException

        public DownloadException​(Throwable cause)
        Deprecated.
        Parameters:
        cause - The cause for the exception.