java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.tool.buildtools.TaskExecutionException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a build task execution failed.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a task execution.TaskExecutionException
(String message) Creates a task execution with the specified message.TaskExecutionException
(String message, Throwable cause) Creates a task execution with the specified message and cause.TaskExecutionException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a task execution with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.TaskExecutionException
(Throwable cause) Creates a task execution with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TaskExecutionException
public TaskExecutionException()Creates a task execution.
-
TaskExecutionException
Creates a task execution with the specified message.
- Parameters:
message
- the message
-
TaskExecutionException
Creates a task execution with the specified cause.
- Parameters:
cause
- the cause
-
TaskExecutionException
Creates a task execution with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
TaskExecutionException
public TaskExecutionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a task execution with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message
- the messagecause
- the causeenableSuppression
- true to enable suppression, false otherwisewritableStackTrace
- true to make the stack trace writable, false otherwise
-