saker.build Documentation TaskDoc JavaDoc Packages
public class TaskExecutionCancelledException extends TaskExecutionException
Exception can be thrown by tasks when they detect that the execution was cancelled by user request.

If tasks throw this exception, their execution will be considered as failed. Instead, they are recommended to handle cancellation gracefully, and recover if possible. They can use TaskContext.abortExecution(Throwable) to signal cancellation, while completing the execution partially and handling partial results in the next incremental build.

Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier.
taskIdentifierThe related task identifier.