api / org.gradle.tooling / GradleConnectionException

GradleConnectionException

open class GradleConnectionException : RuntimeException

Thrown when there is some problem using a Gradle connection.

Since
1.0-milestone-3

Constructors

<init>

GradleConnectionException(message: String)
GradleConnectionException(message: String, throwable: Throwable)

Inheritors

BuildActionFailureException

open class BuildActionFailureException : GradleConnectionException

Thrown when a BuildAction fails.

BuildCancelledException

open class BuildCancelledException : GradleConnectionException

Thrown when a org.gradle.tooling.LongRunningOperation is cancelled before the operation completes.

BuildException

open class BuildException : GradleConnectionException

Thrown when a Gradle build fails or when a model cannot be built.

ListenerFailedException

open class ListenerFailedException : GradleConnectionException

Thrown whenever a listener fails with an exception, which in general implies that the build completed like it should, but that one of the listeners failed with an exception.

TestExecutionException

open class TestExecutionException : GradleConnectionException

Thrown when the org.gradle.tooling.TestLauncher cannot run tests, or when one or more tests fail.

UnsupportedBuildArgumentException

open class UnsupportedBuildArgumentException : GradleConnectionException

Thrown when the org.gradle.tooling.LongRunningOperation has been configured with unsupported build arguments. For more information see the org.gradle.tooling.LongRunningOperation#withArguments(String...) method.

UnsupportedVersionException

open class UnsupportedVersionException : GradleConnectionException

Thrown when the target Gradle version does not support a particular feature.