|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.tasks.StopExecutionException
class StopExecutionException extends java.lang.RuntimeException
A StopExecutionException is thrown by a org.gradle.api.TaskAction or task action closure to
stop execution of the current task and start execution of the next task. This allows, for example, precondition
actions to be added to a task which abort execution of the task if the preconditions are not met.
Note that throwing this exception does not fail the execution of the task or the build.
| Constructor Summary | |
StopExecutionException()
|
|
StopExecutionException(java.lang.String message)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.RuntimeException | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
| Methods inherited from class java.lang.Exception | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
| Methods inherited from class java.lang.Throwable | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
| Methods inherited from class java.lang.Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Constructor Detail |
|---|
public StopExecutionException()
public StopExecutionException(java.lang.String message)
Groovy Documentation