All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.io.FileExistsException Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.io;

import java.io.File;
import java.io.IOException;

/**
 * Indicates that a file already exists.
 */
public class FileExistsException extends IOException {

	/**
	 * Defines the serial version UID.
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Default Constructor.
	 */
	public FileExistsException() {
		super();
	}

	/**
	 * Construct an instance with the specified message.
	 * 
	 * @param message The error message
	 */
	public FileExistsException(String message) {
		super(message);
	}

	/**
	 * Construct an instance with the specified file.
	 * 
	 * @param file The file that exists
	 */
	public FileExistsException(File file) {
		super("File " + file + " exists");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy