From 02fd2bc7059da416937beb1abe67e5ca60379030 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 1 Apr 2014 23:00:53 +0100 Subject: Settings pane now actually controls the parameters, not much left to do. --- .../exceptions/InsufficientConnectionsException.java | 10 ++++++++++ .../exceptions/InvalidArgumentsException.java | 20 ++++++++++++++++++++ .../backend/exceptions/ManagedModuleException.java | 10 ++++++++++ .../exceptions/ParameterMismatchException.java | 10 ++++++++++ 4 files changed, 50 insertions(+) create mode 100644 src/jcgp/backend/exceptions/InsufficientConnectionsException.java create mode 100644 src/jcgp/backend/exceptions/InvalidArgumentsException.java create mode 100644 src/jcgp/backend/exceptions/ManagedModuleException.java create mode 100644 src/jcgp/backend/exceptions/ParameterMismatchException.java (limited to 'src/jcgp/backend/exceptions') 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; + +} -- cgit v1.2.3