1 package de.fhdw.wtf.persistence.exception;
2
3 import java.io.File;
4 import java.io.IOException;
5
6 /**
7 * This Exception is thrown when the given File cannot be deleted.
8 *
9 */
10 public class FileDeleteIOException extends IOException {
11
12 /**
13 * This Exception is thrown when the given File cannot be deleted.
14 *
15 * @param file
16 * the file
17 */
18 public FileDeleteIOException(final File file) {
19 super("The file " + file.getPath() + " cannot be deleted!");
20 }
21
22 }