Merge branch 'JAL-3878_ws-overhaul-3' into mmw/Release_2_12_ws_merge
[jalview.git] / src / jalview / ws2 / actions / ServiceInputInvalidException.java
diff --git a/src/jalview/ws2/actions/ServiceInputInvalidException.java b/src/jalview/ws2/actions/ServiceInputInvalidException.java
new file mode 100644 (file)
index 0000000..c816d61
--- /dev/null
@@ -0,0 +1,31 @@
+package jalview.ws2.actions;
+
+/**
+ * An exception thrown to indicate that the input is invalid and the service
+ * cannot be started.
+ *  
+ * @author mmwarowny
+ *
+ */
+public class ServiceInputInvalidException extends Exception
+{
+  /**
+   * 
+   */
+  private static final long serialVersionUID = 174066679057181584L;
+
+  public ServiceInputInvalidException(String message)
+  {
+    super(message);
+  }
+  
+  public ServiceInputInvalidException(Throwable cause)
+  {
+    super(cause);
+  }
+  
+  public ServiceInputInvalidException(String message, Throwable cause)
+  {
+    super(message, cause);
+  }
+}