Package: org.gradle.api

## [Java] Class BuildCancelledException

- org.gradle.api.BuildCancelledException

- A `BuildCancelledException` is thrown when a build is interrupted due to cancellation request.

  Since:
    2.1

- - ### Constructor Summary

    Constructors
    Constructor and description
    `BuildCancelledException ()`
    `BuildCancelledException (String message)`
    `BuildCancelledException (String message, Throwable cause)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public BuildCancelledException()

    - #### public BuildCancelledException(String message)

    - #### public BuildCancelledException(String message, Throwable cause)