|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException com.adobe.idp.taskmanager.dsc.client.task.CompleteTaskException
public class CompleteTaskException
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.
Constructor Summary | |
---|---|
CompleteTaskException(long aTaskId)
Constructs a new exception using the task identifier. |
Method Summary | |
---|---|
void |
addException(TaskManagerException exception)
Adds an additional exception to this exception. |
java.util.List |
getExceptions()
Retrieves the full list of exceptions. |
java.lang.String |
getMessage()
Retrieves a compound message for all of the exceptions contained in the list of exceptions. |
long |
getTaskId()
Retrieves the task identifier for this exception. |
Methods inherited from class com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException |
---|
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompleteTaskException(long aTaskId)
aTaskId
- The task identifier.Method Detail |
---|
public void addException(TaskManagerException exception)
exception
- The exception to add.public java.util.List getExceptions()
TaskManagerException
.
List
of TaskManagerException
objects (or extending exceptions).public long getTaskId()
getTaskId
in class TaskManagerException
public java.lang.String getMessage()
getMessage
in class TaskManagerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |