summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/exceptions/MissingVersionException.java
diff options
context:
space:
mode:
authorDavid <david@panic.tk>2018-11-06 16:16:01 +0100
committerDavid <david@panic.tk>2018-11-06 16:16:01 +0100
commit4810dcf339a59f49305e184fc22abf839d41c310 (patch)
treeb45f08b5832a71492f94c43d89a77ec6037908f6 /src/main/java/com/redstoner/exceptions/MissingVersionException.java
parent54a6cbf4c86421ddec4852b2d764442f5b1c5b28 (diff)
Moved files to use the gradle structure
Diffstat (limited to 'src/main/java/com/redstoner/exceptions/MissingVersionException.java')
-rw-r--r--src/main/java/com/redstoner/exceptions/MissingVersionException.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/exceptions/MissingVersionException.java b/src/main/java/com/redstoner/exceptions/MissingVersionException.java
new file mode 100644
index 0000000..62032b6
--- /dev/null
+++ b/src/main/java/com/redstoner/exceptions/MissingVersionException.java
@@ -0,0 +1,22 @@
+package com.redstoner.exceptions;
+
+import com.redstoner.annotations.Version;
+
+/** To be thrown when a module is not annotated with its version. If this gets thrown, then oh boy, you're in trouble now.
+ *
+ * @author Pepich */
+@Version(major = 1, minor = 0, revision = 0, compatible = -1)
+public class MissingVersionException extends Exception
+{
+ private static final long serialVersionUID = 4940161335512222539L;
+
+ public MissingVersionException()
+ {
+ super();
+ }
+
+ public MissingVersionException(String message)
+ {
+ super(message);
+ }
+}