Package org.teleight.teleightbots.files
Class DownloadFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.teleight.teleightbots.files.DownloadFileException
- All Implemented Interfaces:
Serializable
Class representing a download file exception.
It is thrown when a file cannot be downloaded.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDownloadFileException(String message) Constructs a DownloadFileException with the specified message.DownloadFileException(String message, Throwable cause) Constructs a DownloadFileException with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DownloadFileException
Constructs a DownloadFileException with the specified message.- Parameters:
message- the detail message, saved for later retrieval by the getMessage() method
-
DownloadFileException
Constructs a DownloadFileException with the specified message and cause.- Parameters:
message- the detail message, saved for later retrieval by the getMessage() methodcause- the cause of the exception
-