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:
- Serializable
Indicates that a file already exists.
- Since:
- 2.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a new instance.FileExistsException(File file) Constructs an instance with the specified file.FileExistsException(String message) Constructs an instance with the specified message.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
FileExistsExceptionpublic FileExistsException()Constructs a new instance.
- 
FileExistsExceptionConstructs an instance with the specified file.- Parameters:
- file- The file that exists
 
- 
FileExistsExceptionConstructs an instance with the specified message.- Parameters:
- message- The error message
 
 
-