UnsupportedFeatureException (Gradle API 8.11.1)

Package org.gradle.testkit.runner

## Class UnsupportedFeatureException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.gradle.testkit.runner.UnsupportedFeatureException

- All Implemented Interfaces:
    `java.io.Serializable`

      public class UnsupportedFeatureException
      extends java.lang.RuntimeException

  Thrown when a build was executed with a target Gradle version that does not support a specific feature.
  Since:
    2.11
  See Also:
    `GradleRunner.withGradleVersion(java.lang.String)`, `GradleRunner.withGradleInstallation(java.io.File)`, `GradleRunner.withGradleDistribution(java.net.URI)`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UnsupportedFeatureException​(java.lang.String message)` |
    `UnsupportedFeatureException​(java.lang.String feature, GradleVersion targetGradleVersion, GradleVersion minSupportedGradleVersion)` |

  - ### 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

    - #### UnsupportedFeatureException

          public UnsupportedFeatureException​(java.lang.String feature,
                                             GradleVersion targetGradleVersion,
                                             GradleVersion minSupportedGradleVersion)

    - #### UnsupportedFeatureException

          public UnsupportedFeatureException​(java.lang.String message)