saker.build Documentation TaskDoc JavaDoc Packages
public class TaskExecutionException extends TaskException
Common superclass for exceptions that are related to task execution and have a corresponding task identifier.
Fields
protected TaskIdentifier
The task identifier.
Constructors
protected
TaskExecutionException(String message, Throwable cause, TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier, exception message, and cause.
protected
TaskExecutionException(String message, Throwable cause, boolean writableStackTrace, TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier with the specified initialization config.
protected
Creates a new exception for the given task identifier and exception message.
protected
Creates a new exception for the given task identifier and cause.
protected
Creates a new exception for the given task identifier.
Methods
public String
Returns the detail message string of this throwable.
public TaskIdentifier
Gets the task identifier related to this exception.
The task identifier.
protected TaskExecutionException(String message, Throwable cause, TaskIdentifier taskIdentifier)
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 TaskExecutionException(String message, Throwable cause, boolean writableStackTrace, TaskIdentifier taskIdentifier)
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.
protected TaskExecutionException(String message, TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier and exception message.
messageThe exception message.
taskIdentifierThe related task identifier.
protected TaskExecutionException(Throwable cause, TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier and cause.
causeThe exception that caused this one.
taskIdentifierThe related task identifier.
protected TaskExecutionException(TaskIdentifier taskIdentifier)
Creates a new exception for the given task identifier.
taskIdentifierThe related task identifier.
Overridden from: Throwable
Returns the detail message string of this throwable.
the detail message string of this Throwable instance (which may be null).
Gets the task identifier related to this exception.
The task identifier.