X-Git-Url: https://xp-dev.com/git/ISBets21MAUBRY/blobdiff_plain/cbae1464e51d90bc80afc97083afd6462fd3c54f..3cf4057e97448d401b49261033b8ab566105944e:/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 index 0000000..26331a6 --- /dev/null +++ b/eclipse-workspace/ISBets21MAUBRY/src/main/java/exceptions/QuestionAlreadyExist.java @@ -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