Package com.adobe.idp.taskmanager.dsc.client.task
Classpublic class CompleteTaskException
InheritanceCompleteTaskException Inheritance TaskManagerException

Exception thrown if there was an error when completing a task. This exception can contain a list of exceptions if more than one exceptional circumstance was encountered while completing the task.



Public Methods
 MethodDefined by
  
CompleteTaskException(long aTaskId)
Constructs a new exception using the task identifier.
CompleteTaskException
  
Adds an additional exception to this exception.
CompleteTaskException
  
Retrieves the full list of exceptions.
CompleteTaskException
  
String getMessage()
Retrieves a compound message for all of the exceptions contained in the list of exceptions.
CompleteTaskException
  
long getTaskId()
Retrieves the task identifier for this exception.
CompleteTaskException
Constructor Detail
CompleteTaskException()
public CompleteTaskException(long aTaskId)

Constructs a new exception using the task identifier.

Parameters
aTaskId — The task identifier.
Method Detail
addException()
public void addException(TaskManagerException exception)

Adds an additional exception to this exception.

Parameters

exception — The exception to add.

getExceptions() 
public List getExceptions()

Retrieves the full list of exceptions. It is safe to cast items retrieved from the list to a TaskManagerException.

Returns
A List of TaskManagerException objects (or extending exceptions).
getMessage() 
public String getMessage()

Retrieves a compound message for all of the exceptions contained in the list of exceptions.

Returns
The compound message for the list of exceptions.
getTaskId() 
public long getTaskId()

Retrieves the task identifier for this exception.

Returns
TaskId The task identifier.




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/idp/taskmanager/dsc/client/task/CompleteTaskException.html