//@@author generated
package seedu.address.logic.commands;

import seedu.address.logic.commands.exceptions.CommandException;

/**
 * Represents an incorrect command. Upon execution, throws a CommandException with feedback to the user.
 */
public class IncorrectCommand extends Command {

    public final String feedbackToUser;
    public static final String COMMAND_WORD = "incorrect";

    public IncorrectCommand(String feedbackToUser) {
        this.feedbackToUser = feedbackToUser;
    }

    @Override
    public CommandResult execute() throws CommandException {
        throw new CommandException(feedbackToUser);
    }

    @Override
    public boolean isUndoable() {
        return false;
    }

}


@@ -53,16 +53,79 @@
 mands;%0A%0A
+import seedu.address.commons.exceptions.IllegalValueException;%0A
 import s
@@ -181,16 +181,16 @@
 eption;%0A
-
 %0A/**%0A * 
@@ -333,16 +333,24 @@
 extends 
+AbleUndo
 Command 
@@ -736,24 +736,24 @@
 ndoable() %7B%0A
-
         retu
@@ -769,11 +769,330 @@
 %0A    %7D%0A%0A
+    @Override%0A    public CommandResult executeUndo(String message) throws CommandException %7B%0A        throw new CommandException(UndoCommand.MESSAGE_UNSUCCESS);%0A    %7D%0A%0A    @Override%0A    public Command getUndoCommand() throws IllegalValueException %7B%0A        // TODO Auto-generated method stub%0A        return null;%0A    %7D%0A%0A
 %7D%0A%0A

fix bug to display no task to edit