org.gradle.tooling.model
Class UnsupportedMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.UnsupportedOperationException
                  extended by org.gradle.tooling.model.UnsupportedMethodException
All Implemented Interfaces:
Serializable

public class UnsupportedMethodException
extends UnsupportedOperationException

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

Typically, to resolve such problem you change/upgrade the target version of Gradle 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
UnsupportedMethodException(String s)
           
UnsupportedMethodException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String s)

UnsupportedMethodException

public UnsupportedMethodException(String message,
                                  Throwable cause)