Class UnsupportedMethodException

  • All Implemented Interfaces:

    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.

    See Also:
    Serialized Form
    • 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)