Class BuildCancelledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.BuildCancelledException
- All Implemented Interfaces:
Serializable
A BuildCancelledException is thrown when a build is interrupted due to cancellation request.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newBuildCancelledException.BuildCancelledException(String message) Creates a newBuildCancelledException.BuildCancelledException(String message, Throwable cause) Creates a newBuildCancelledException. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BuildCancelledException
public BuildCancelledException()Creates a newBuildCancelledException.- Since:
- 2.1
-
BuildCancelledException
-
BuildCancelledException
-