org.gradle.tooling.model
Class IncompatibleVersionException

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.IncompatibleVersionException
All Implemented Interfaces:
Serializable

public class IncompatibleVersionException
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.

See Also:
Serialized Form

Constructor Summary
IncompatibleVersionException(String s)
           
IncompatibleVersionException(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

IncompatibleVersionException

public IncompatibleVersionException(String s)

IncompatibleVersionException

public IncompatibleVersionException(String message,
                                    Throwable cause)