public class TaskAlreadyExistsException
extends java.lang.RuntimeException
Constructor and Description |
---|
TaskAlreadyExistsException(java.lang.String detail) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getTaskNames()
Returns a list of the names of the tasks that already exist, in the same order as they were
given in the call to add().
|
public TaskAlreadyExistsException(java.lang.String detail)
public java.util.List<java.lang.String> getTaskNames()
TaskAlreadyExistsException
will populate this list. Otherwise it will be an empty
list.