BuildCancelledException (Gradle API 4.5.1)
Date: 2018-02-05

org.gradle.tooling

## Class BuildCancelledException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.gradle.tooling.GradleConnectionException
        - - org.gradle.tooling.BuildCancelledException

- All Implemented Interfaces:
    Serializable

      @Incubating
      public class BuildCancelledException
      extends GradleConnectionException

  Thrown when a `LongRunningOperation` is cancelled before the operation completes.
  Since:
    2.1
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BuildCancelledException(String message)`
    `BuildCancelledException(String message, Throwable throwable)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BuildCancelledException

          public BuildCancelledException(String message)

    - #### BuildCancelledException

          public BuildCancelledException(String message,
                                         Throwable throwable)