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

public class TaskManagerException extends Exception
TaskManagerException is the parent exception for all exceptions thrown out of TaskManager.
See Also:
  • Constructor Details

    • TaskManagerException

      public TaskManagerException()
      Creates a new instance of TaskManagerException.
    • TaskManagerException

      public TaskManagerException(String message)
      Creates a new instance of TaskManagerException.
      Parameters:
      message - Message for this error.
    • TaskManagerException

      public TaskManagerException(String message, Throwable cause)
      Creates a new instance of TaskManagerException.
      Parameters:
      message - Message for this error.
      cause - Cause of the exception.
    • TaskManagerException

      public TaskManagerException(String message, StackTraceElement[] stack)
      Creates a new instance of TaskManagerException.
      Parameters:
      message - Message for this error.
      stack - Stack trace for this exception.
  • Method Details

    • setTaskId

      public void setTaskId(String aTaskId)
      Sets the id of the task associated to this exception.
      Parameters:
      aTaskId - String containing the task id.
    • getTaskId

      public String getTaskId()
      Gets the id of the task associated to this exception.
      Returns:
      String containing the task id.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable