package tars.commons.core;

/**
 * Container for user visible messages.
 */
public class Messages {

    public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command";
    public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s";
    public static final String MESSAGE_INVALID_DATE = "Invalid date time entered!";
    public static final String MESSAGE_INVALID_END_DATE = "End dateTime should be after start dateTime.";
    public static final String MESSAGE_INVALID_TASK_DISPLAYED_INDEX = "The task index provided is invalid";
    public static final String MESSAGE_PERSONS_LISTED_OVERVIEW = "%1$d tasks listed!";
    public static final String MESSAGE_TASK_CANNOT_BE_FOUND = "Task cannot be found!";
    public static final String MESSAGE_DUPLICATE_TASK= "This task already exists in tars";
}

package tars.commons.core;

/**
 * Container for user visible messages.
 */
public class Messages {

    public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command";
    public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s";
    public static final String MESSAGE_INVALID_DATE = "Invalid date time entered!";
    public static final String MESSAGE_INVALID_END_DATE = "End dateTime should be after start dateTime.";
    public static final String MESSAGE_INVALID_TASK_DISPLAYED_INDEX = "The task index provided is invalid";
    public static final String MESSAGE_INVALID_TAG_DISPLAYED_INDEX = "The tag index provided is invalid";
    public static final String MESSAGE_PERSONS_LISTED_OVERVIEW = "%1$d tasks listed!";
    public static final String MESSAGE_TASK_CANNOT_BE_FOUND = "Task cannot be found!";
    public static final String MESSAGE_DUPLICATE_TASK= "This task already exists in tars";
}

Add invalid tag index message