Package 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:
    `java.io.Serializable`

      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 | Description
    --- | ---
    `BuildCancelledException​(java.lang.String message)` |
    `BuildCancelledException​(java.lang.String message, java.lang.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​(java.lang.String message)

    - #### BuildCancelledException

          public BuildCancelledException​(java.lang.String message,
                                         java.lang.Throwable throwable)