From 6f86a0063d6510ccf63064e141ea74fc90d01428 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Fri, 18 Mar 2016 10:25:49 -0400 Subject: Moved exceptions to their own package --- .../utils/exceptions/FileNotChosenException.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java (limited to 'BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java') 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); + } +} -- cgit v1.2.3