Package com.adobe.granite.taskmanagement
Class TaskManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adobe.granite.taskmanagement.TaskManagerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TaskNotFoundException,TaskSecurityException
TaskManagerException is the parent exception for all exceptions thrown out of TaskManager.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates 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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TaskManagerException
public TaskManagerException()Creates a new instance of TaskManagerException. -
TaskManagerException
Creates a new instance of TaskManagerException.- Parameters:
message- Message for this error.
-
TaskManagerException
Creates a new instance of TaskManagerException.- Parameters:
message- Message for this error.cause- Cause of the exception.
-
TaskManagerException
Creates a new instance of TaskManagerException.- Parameters:
message- Message for this error.stack- Stack trace for this exception.
-
-
Method Details
-
setTaskId
Sets the id of the task associated to this exception.- Parameters:
aTaskId- String containing the task id.
-
getTaskId
Gets the id of the task associated to this exception.- Returns:
- String containing the task id.
-
getMessage
- Overrides:
getMessagein classThrowable
-