package seedu.address.commons.exceptions;

/**
 * Signals that some given data does not fulfill some constraints.
 */
public class IllegalValueException extends Exception {
    /**
     * @param message should contain relevant information on the failed constraint(s)
     */
    public IllegalValueException(String message) {
        super(message);
    }
}

@@ -60,19 +60,25 @@
 hat 
-some
+a
  given 
+piece of 
 data
@@ -110,17 +110,19 @@
 nstraint
-s
+(s)
 .%0A */%0Apu
@@ -327,16 +327,16 @@
 sage) %7B%0A
-
         
@@ -356,11 +356,296 @@
 );%0A    %7D
+%0A%0A    /**%0A     * @param message should contain relevant information on the failed constraint(s).%0A     * @param cause The Throwable which caused this exception to be thrown.%0A     */%0A    public IllegalValueException(String message, Throwable cause) %7B%0A        super(message, cause);%0A    %7D
 %0A%7D%0A

add `cause` constructor