IteraciĆ³n 3(VersiĆ³n sin idiomas)
[ISBets21MAUBRY] / eclipse-workspace / ISBets21MAUBRY / src / main / java / exceptions / QuestionAlreadyExist.java
diff --git a/eclipse-workspace/ISBets21MAUBRY/src/main/java/exceptions/QuestionAlreadyExist.java b/eclipse-workspace/ISBets21MAUBRY/src/main/java/exceptions/QuestionAlreadyExist.java
new file mode 100644 (file)
index 0000000..26331a6
--- /dev/null
@@ -0,0 +1,16 @@
+package exceptions;
+public class QuestionAlreadyExist extends Exception {
+ private static final long serialVersionUID = 1L;
+ public QuestionAlreadyExist()
+  {
+    super();
+  }
+  /**This exception is triggered if the question already exists 
+  *@param s String of the exception
+  */
+  public QuestionAlreadyExist(String s)
+  {
+    super(s);
+  }
+}
\ No newline at end of file