saker.build Documentation TaskDoc JavaDoc Packages
public class TaskException extends RuntimeException
Common superclass for all exceptions that are thrown during build execution.

Suppression is always enabled for TaskException subclasses.

Constructors
protected
Constructs a new runtime exception with null as its detail message.
protected
Constructs a new runtime exception with the specified detail message.
protected
Constructs a new runtime exception with the specified detail message and cause.
protected
TaskException(String message, Throwable cause, boolean writableStackTrace)
Constructs a new instance with the specified detail message, cause, and writable stack trace enabled or disabled.
protected
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
protected TaskException()
Documentation included from: RuntimeException
Constructs a new runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).
protected TaskException(String message)
Documentation included from: RuntimeException
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).
messagethe detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
protected TaskException(String message, Throwable cause)
Documentation included from: RuntimeException
Constructs a new runtime exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

messagethe detail message (which is saved for later retrieval by the Throwable.getMessage() method).
causethe cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
1.4
protected TaskException(String message, Throwable cause, boolean writableStackTrace)
Constructs a new instance with the specified detail message, cause, and writable stack trace enabled or disabled.

The suppression is always enabled for TaskException instances.

messagethe detail message.
causethe cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
writableStackTracewhether or not the stack trace should be writable
saker.build 0.8.11
protected TaskException(Throwable cause)
Documentation included from: RuntimeException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.
causethe cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
1.4