saker.build Documentation TaskDoc JavaDoc Packages
public class TaskNotFoundException extends RepositoryException
Exception for reporting the scenario when a task lookup by name failed to yield any result.
Fields
protected TaskName
The task name which was not found.
Constructors
public
Creates a new exception for the specified task name and detail message and cause.
public
Creates a new exception for the specified task name and detail message.
public
Creates a new exception for the specified task name and cause.
public
Creates a new exception instance for the specified task name.
Methods
public TaskName
Gets the task name which was not found.
protected TaskName taskName
The task name which was not found.
public TaskNotFoundException(String message, Throwable cause, TaskName taskName)
Creates a new exception for the specified task name and detail message and cause.
messageThe detail message.
causeThe cause of this exception.
taskNameThe task name which was not found.
public TaskNotFoundException(String message, TaskName taskName)
Creates a new exception for the specified task name and detail message.
messageThe detail message.
taskNameThe task name which was not found.
public TaskNotFoundException(Throwable cause, TaskName taskName)
Creates a new exception for the specified task name and cause.
causeThe cause of this exception.
taskNameThe task name which was not found.
Creates a new exception instance for the specified task name.
taskNameThe task name which was not found.
Gets the task name which was not found.
The task name.