TSK-393: InvalidWorkbasketException from createTask removed.
This commit is contained in:
parent
ba3b8baaf5
commit
d2a6632f7f
|
@ -153,14 +153,12 @@ public interface TaskService {
|
|||
* thrown if the work basket referenced by the task is not found
|
||||
* @throws ClassificationNotFoundException
|
||||
* thrown if the {@link Classification} referenced by the task is not found
|
||||
* @throws InvalidWorkbasketException
|
||||
* thrown if the referenced Workbasket has missing required properties
|
||||
* @throws InvalidArgumentException
|
||||
* thrown if the primary ObjectReference is invalid
|
||||
*/
|
||||
Task createTask(Task taskToCreate)
|
||||
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
||||
TaskAlreadyExistException, InvalidWorkbasketException, InvalidArgumentException;
|
||||
TaskAlreadyExistException, InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* Get the details of a task by Id without checking permissions.
|
||||
|
|
|
@ -292,7 +292,7 @@ public class TaskServiceImpl implements TaskService {
|
|||
@Override
|
||||
public Task createTask(Task taskToCreate)
|
||||
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
||||
TaskAlreadyExistException, InvalidWorkbasketException, InvalidArgumentException {
|
||||
TaskAlreadyExistException, InvalidArgumentException {
|
||||
LOGGER.debug("entry to createTask(task = {})", taskToCreate);
|
||||
TaskImpl task = (TaskImpl) taskToCreate;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue