public class TaskManagerException extends Exception
| Constructor and Description |
|---|
TaskManagerException()
Creates a new instance of TaskManagerException.
|
TaskManagerException(String message)
Creates a new instance of TaskManagerException.
|
TaskManagerException(String message,
StackTraceElement[] stack)
Creates a new instance of TaskManagerException.
|
TaskManagerException(String message,
Throwable cause)
Creates a new instance of TaskManagerException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getTaskId()
Gets the id of the task associated to this exception.
|
void |
setTaskId(String aTaskId)
Sets the id of the task associated to this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TaskManagerException()
public TaskManagerException(String message)
message - Message for this error.public TaskManagerException(String message, Throwable cause)
message - Message for this error.cause - Cause of the exception.public TaskManagerException(String message, StackTraceElement[] stack)
message - Message for this error.stack - Stack trace for this exception.public void setTaskId(String aTaskId)
aTaskId - String containing the task id.public String getTaskId()
public String getMessage()
getMessage in class ThrowableCopyright © 2010 - 2020 Adobe. All Rights Reserved