Package org.apache.commons.io
Class FileExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.commons.io.FileExistsException
-
- All Implemented Interfaces:
java.io.Serializable
public class FileExistsException extends java.io.IOException
Indicates that a file already exists.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileExistsException()
Default Constructor.FileExistsException(java.io.File file)
Construct an instance with the specified file.FileExistsException(java.lang.String message)
Construct an instance with the specified message.
-
-
-
Constructor Detail
-
FileExistsException
public FileExistsException()
Default Constructor.
-
FileExistsException
public FileExistsException(java.lang.String message)
Construct an instance with the specified message.- Parameters:
message
- The error message
-
FileExistsException
public FileExistsException(java.io.File file)
Construct an instance with the specified file.- Parameters:
file
- The file that exists
-
-