Package org.gradle.api
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
@Incubating public class BuildCancelledException extends GradleException
A
BuildCancelledException
is thrown when a build is interrupted due to cancellation request.- Since:
- 2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildCancelledException()
BuildCancelledException(String message)
BuildCancelledException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-