diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java b/BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java new file mode 100644 index 0000000..e7cfe67 --- /dev/null +++ b/BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java @@ -0,0 +1,27 @@ +package bjc.utils.exceptions; + +import java.io.IOException; + +/** + * Represents the user failing to choose a file. + * + * @author ben + * + */ +public class FileNotChosenException extends IOException { + private static final long serialVersionUID = -8753348705210831096L; + + public FileNotChosenException() { + super(); + } + + /** + * Create a new exception with the given cause + * + * @param cause + * The cause of why the exception was thrown + */ + public FileNotChosenException(String cause) { + super(cause); + } +} |
