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
|
* thrown if the work basket referenced by the task is not found
|
||||||
* @throws ClassificationNotFoundException
|
* @throws ClassificationNotFoundException
|
||||||
* thrown if the {@link Classification} referenced by the task is not found
|
* 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
|
* @throws InvalidArgumentException
|
||||||
* thrown if the primary ObjectReference is invalid
|
* thrown if the primary ObjectReference is invalid
|
||||||
*/
|
*/
|
||||||
Task createTask(Task taskToCreate)
|
Task createTask(Task taskToCreate)
|
||||||
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
||||||
TaskAlreadyExistException, InvalidWorkbasketException, InvalidArgumentException;
|
TaskAlreadyExistException, InvalidArgumentException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the details of a task by Id without checking permissions.
|
* Get the details of a task by Id without checking permissions.
|
||||||
|
|
|
||||||
|
|
@ -292,7 +292,7 @@ public class TaskServiceImpl implements TaskService {
|
||||||
@Override
|
@Override
|
||||||
public Task createTask(Task taskToCreate)
|
public Task createTask(Task taskToCreate)
|
||||||
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
throws NotAuthorizedException, WorkbasketNotFoundException, ClassificationNotFoundException,
|
||||||
TaskAlreadyExistException, InvalidWorkbasketException, InvalidArgumentException {
|
TaskAlreadyExistException, InvalidArgumentException {
|
||||||
LOGGER.debug("entry to createTask(task = {})", taskToCreate);
|
LOGGER.debug("entry to createTask(task = {})", taskToCreate);
|
||||||
TaskImpl task = (TaskImpl) taskToCreate;
|
TaskImpl task = (TaskImpl) taskToCreate;
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue