summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-03-18 10:25:49 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-03-18 10:25:49 -0400
commit6f86a0063d6510ccf63064e141ea74fc90d01428 (patch)
tree166b4afcc71feed8ef673efb9d4bca37394462bd /BJC-Utils2/src/main/java/bjc/utils/exceptions/FileNotChosenException.java
parent08cf6a8d3fea26dc891783a0d08e30791643135e (diff)
Moved exceptions to their own package
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.java27
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);
+ }
+}