saker.build Documentation TaskDoc JavaDoc Packages
public class IllegalTaskOperationException extends TaskExecutionException
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)

Constructors
public
Creates a new exception for the given task identifier, exception message, and cause.
protected
IllegalTaskOperationException(String message, Throwable cause, boolean writableStackTrace, TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier with the specified initialization config.
public
Creates a new exception for the given task identifier and exception message.
public
Creates a new exception for the given task identifier and cause.
public
Creates a new exception for the given task identifier.
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.
public IllegalTaskOperationException(String message, TaskIdentifier taskIdentifier)
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.