UnsupportedMethodException (Gradle API 8.11)

Package org.gradle.tooling.model

## Class UnsupportedMethodException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.UnsupportedOperationException
        - - org.gradle.tooling.model.UnsupportedMethodException

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

      public class UnsupportedMethodException
      extends java.lang.UnsupportedOperationException

  Thrown when the tooling API client attempts to use a method that does not exist in the version of Gradle that the tooling API is connected to.

  Typically, to resolve such a problem you change/upgrade the target version of Gradle that the tooling API is connected to. Alternatively, you can handle and ignore this exception.

  Since:
    1.0-milestone-8
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UnsupportedMethodException​(java.lang.String s)` |
    `UnsupportedMethodException​(java.lang.String message, java.lang.Throwable cause)` |

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

    - #### UnsupportedMethodException

          public UnsupportedMethodException​(java.lang.String s)

    - #### UnsupportedMethodException

          public UnsupportedMethodException​(java.lang.String message,
                                            java.lang.Throwable cause)