
As shown in the screenshot above, I am now having only one task with index 0 in the list. However, when I input edit 2, the exception shown seems to be the same as incorrect format of edit input instead of another type of exception to remind the users that the task index is out of bound.
As shown in the screenshot above, I am now having only one task with index 0 in the list. However, when I input edit 2, the exception shown seems to be the same as incorrect format of edit input instead of another type of exception to remind the users that the task index is out of bound.