Class FileIsADirectoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.astrapi69.file.exception.FileIsADirectoryException
- All Implemented Interfaces:
Serializable
Exception if the file is a directory.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.FileIsADirectoryException
(String message) Constructs a new FileIsADirectoryException with the specified detail message.FileIsADirectoryException
(String message, Throwable cause) Constructs a new FileIsADirectoryException with the specified detail message and the Throwable.Constructs a FileIsADirectoryException with the Throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileIsADirectoryException
public FileIsADirectoryException()Default constructor. -
FileIsADirectoryException
Constructs a new FileIsADirectoryException with the specified detail message.- Parameters:
message
- The message.
-
FileIsADirectoryException
Constructs a new FileIsADirectoryException with the specified detail message and the Throwable.- Parameters:
message
- The message.cause
- The Throwable.
-
FileIsADirectoryException
Constructs a FileIsADirectoryException with the Throwable.- Parameters:
cause
- The Throwable.
-