Class DownloadFileException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.teleight.teleightbots.files.DownloadFileException
All Implemented Interfaces:
Serializable

public final class DownloadFileException extends RuntimeException
Class representing a download file exception.

It is thrown when a file cannot be downloaded.

See Also:
  • Constructor Details

    • DownloadFileException

      public DownloadFileException(String message)
      Constructs a DownloadFileException with the specified message.
      Parameters:
      message - the detail message, saved for later retrieval by the getMessage() method
    • DownloadFileException

      public DownloadFileException(String message, Throwable cause)
      Constructs a DownloadFileException with the specified message and cause.
      Parameters:
      message - the detail message, saved for later retrieval by the getMessage() method
      cause - the cause of the exception