Class DirectoryAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.astrapi69.file.exception.DirectoryAlreadyExistsException
- All Implemented Interfaces:
Serializable
Exception that is thrown if an attempt is made to create a directory that already exists
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newDirectoryAlreadyExistsException
objectDirectoryAlreadyExistsException
(String message) Constructs a new DirectoryAlreadyExistsException with the specified detail message.DirectoryAlreadyExistsException
(String message, Throwable cause) Constructs a new DirectoryAlreadyExistsException with the specified detail message and the Throwable.Constructs a DirectoryAlreadyExistsException 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
-
DirectoryAlreadyExistsException
public DirectoryAlreadyExistsException()Constructs a newDirectoryAlreadyExistsException
object -
DirectoryAlreadyExistsException
Constructs a new DirectoryAlreadyExistsException with the specified detail message.- Parameters:
message
- The error message.
-
DirectoryAlreadyExistsException
Constructs a new DirectoryAlreadyExistsException with the specified detail message and the Throwable.- Parameters:
message
- The error message.cause
- The Throwable.
-
DirectoryAlreadyExistsException
Constructs a DirectoryAlreadyExistsException with the Throwable.- Parameters:
cause
- The Throwable.
-