package saker.build.task.exception
Exception to represent the scenario when a task returns invalid value from its Task.run(TaskContext) method.
One scenario when this is thrown when the task calls TaskContext.abortExecution(null
from its worker method.
This exception can be also thrown when other methods of TaskFactory return invalid values.
See the exception message for more information.
public | InvalidTaskResultException( Creates a new exception for the given task identifier, exception message, and cause. |
public | InvalidTaskResultException( Creates a new exception for the given task identifier and exception message. |
public | InvalidTaskResultException( Creates a new exception for the given task identifier and cause. |
public | InvalidTaskResultException( Creates a new exception for the given task identifier. |
From: TaskExecutionException |
From: Throwable |
From: Object |
Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier, exception message, and cause.
messageThe exception message.
causeThe exception that caused this one.
taskIdentifierThe related task identifier.
Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier and exception message.
messageThe exception message.
taskIdentifierThe related task identifier.
Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier and cause.
causeThe exception that caused this one.
taskIdentifierThe related task identifier.
Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier.
taskIdentifierThe related task identifier.