summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/NoFileChosen.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/bjc/utils/exceptions/NoFileChosen.java')
-rw-r--r--base/src/main/java/bjc/utils/exceptions/NoFileChosen.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/src/main/java/bjc/utils/exceptions/NoFileChosen.java b/base/src/main/java/bjc/utils/exceptions/NoFileChosen.java
new file mode 100644
index 0000000..c627dab
--- /dev/null
+++ b/base/src/main/java/bjc/utils/exceptions/NoFileChosen.java
@@ -0,0 +1,28 @@
+package bjc.utils.exceptions;
+
+import java.io.IOException;
+
+/**
+ * Represents the user failing to choose a file.
+ *
+ * @author ben
+ */
+public class NoFileChosen extends IOException {
+ /* Version ID for serialization. */
+ private static final long serialVersionUID = -8753348705210831096L;
+
+ /** Create a new exception. */
+ public NoFileChosen() {
+ super();
+ }
+
+ /**
+ * Create a new exception with the given cause.
+ *
+ * @param cause
+ * The cause of why the exception was thrown.
+ */
+ public NoFileChosen(final String cause) {
+ super(cause);
+ }
+}