Class UnknownTaskException

All Implemented Interfaces:
Serializable

public class UnknownTaskException extends ProcessException
This type of exception is used when an invalid task is encountered.
Since:
7.1
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • UnknownTaskException

      public UnknownTaskException(String taskName)
      Constructs the exception with the invalid task name.
      Parameters:
      taskName - The name of the task that is invalid
    • UnknownTaskException

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

    • getTaskName

      public String getTaskName()
      This method returns the name of the task that was invalid.
      Returns:
      the name of the task that was invalid.