package saker.build.task.exception
Exception for representing that an operation was not allowed at the time of calling, with the given parameters if
any.
Usually a result of calling task context related methods after the execution of the corresponding task is over.
Also used when the some task operation requirements are violated. (E.g. a method which is supposed to be called at most once is called multiple times)
public | IllegalTaskOperationException( Creates a new exception for the given task identifier, exception message, and cause. |
protected | IllegalTaskOperationException( Creates a new exception for the given task identifier with the specified initialization config. |
public | IllegalTaskOperationException( Creates a new exception for the given task identifier and exception message. |
public | IllegalTaskOperationException( Creates a new exception for the given task identifier and cause. |
public | IllegalTaskOperationException( Creates a new exception for the given task identifier. |
From: TaskExecutionException |
From: Throwable |
From: Object |
public IllegalTaskOperationException(String message, Throwable cause, TaskIdentifier taskIdentifier)
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.
protected IllegalTaskOperationException(String message, Throwable cause, boolean writableStackTrace, TaskIdentifier taskIdentifier)
Documentation included from: TaskExecutionException
Creates a new exception for the given task identifier with the specified initialization config.
messageThe exception message.
causeThe exception that caused this one.
writableStackTraceWhether or not the stack trace should be writable.
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.