aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/backend/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/backend/exceptions')
-rw-r--r--src/jcgp/backend/exceptions/InsufficientConnectionsException.java10
-rw-r--r--src/jcgp/backend/exceptions/InvalidArgumentsException.java20
-rw-r--r--src/jcgp/backend/exceptions/ManagedModuleException.java10
-rw-r--r--src/jcgp/backend/exceptions/ParameterMismatchException.java10
4 files changed, 50 insertions, 0 deletions
diff --git a/src/jcgp/backend/exceptions/InsufficientConnectionsException.java b/src/jcgp/backend/exceptions/InsufficientConnectionsException.java
new file mode 100644
index 0000000..15ac845
--- /dev/null
+++ b/src/jcgp/backend/exceptions/InsufficientConnectionsException.java
@@ -0,0 +1,10 @@
+package jcgp.backend.exceptions;
+
+public class InsufficientConnectionsException extends RuntimeException {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 660740514800883541L;
+
+}
diff --git a/src/jcgp/backend/exceptions/InvalidArgumentsException.java b/src/jcgp/backend/exceptions/InvalidArgumentsException.java
new file mode 100644
index 0000000..bbae976
--- /dev/null
+++ b/src/jcgp/backend/exceptions/InvalidArgumentsException.java
@@ -0,0 +1,20 @@
+package jcgp.backend.exceptions;
+
+public class InvalidArgumentsException extends RuntimeException {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 2675108124600817777L;
+ private String reason;
+
+ public InvalidArgumentsException(String reason) {
+ super();
+ this.reason = reason;
+ }
+
+ public String getReason() {
+ return reason;
+ }
+
+}
diff --git a/src/jcgp/backend/exceptions/ManagedModuleException.java b/src/jcgp/backend/exceptions/ManagedModuleException.java
new file mode 100644
index 0000000..3452d35
--- /dev/null
+++ b/src/jcgp/backend/exceptions/ManagedModuleException.java
@@ -0,0 +1,10 @@
+package jcgp.backend.exceptions;
+
+public class ManagedModuleException extends RuntimeException {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -3450063156524494967L;
+
+}
diff --git a/src/jcgp/backend/exceptions/ParameterMismatchException.java b/src/jcgp/backend/exceptions/ParameterMismatchException.java
new file mode 100644
index 0000000..3ab9fa1
--- /dev/null
+++ b/src/jcgp/backend/exceptions/ParameterMismatchException.java
@@ -0,0 +1,10 @@
+package jcgp.backend.exceptions;
+
+public class ParameterMismatchException extends RuntimeException {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -3161318886125868134L;
+
+}