Class UnknownProcessTaskException

All Implemented Interfaces:
Serializable

public class UnknownProcessTaskException extends ProcessException
This type of exception is used when an unknown process task is encountered.
Since:
7.1
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • UnknownProcessTaskException

      public UnknownProcessTaskException(long taskId)
      Constructs the exception with the invalid task name.
      Parameters:
      taskId - The name of the task that is invalid
    • UnknownProcessTaskException

      public UnknownProcessTaskException(long taskId, String message)
      Constructs the exception with the invalid task id and a message containing more information about the cause or place of the error.
      Parameters:
      taskId - The id of the task that is invalid
      message - Message containing additional information about the error.
  • Method Details

    • getTaskId

      public long getTaskId()
      This method returns the id of the task that was invalid.
      Returns:
      the id of the task that was invalid.