Exception TaskAlreadyExistsException (2.0.0)

public class TaskAlreadyExistsException extends RuntimeException

One or more task names already exists in the queue.

Constructors

TaskAlreadyExistsException(String detail)

public TaskAlreadyExistsException(String detail)
Parameter
Name Description
detail String

Methods

getTaskNames()

public List<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(). Only some of the methods that throw a TaskAlreadyExistsException will populate this list. Otherwise it will be an empty list.

Returns
Type Description
List<String>