Groovy Documentation

org.gradle.tooling
[Java] Class UnknownModelException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              org.gradle.tooling.GradleConnectionException
                  org.gradle.tooling.UnsupportedVersionException
                      org.gradle.tooling.UnknownModelException

public class UnknownModelException
extends UnsupportedVersionException

Thrown when the client is trying to acquire a model that is unknown to the Tooling API.

The exception extends UnsupportedVersionException only for backwards compatibility reasons.

Since:
1.0-milestone-8


Constructor Summary
UnknownModelException(String message)

UnknownModelException(String message, Throwable cause)

 
Method Summary
 
Methods inherited from class RuntimeException
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

UnknownModelException

public UnknownModelException(String message)


UnknownModelException

public UnknownModelException(String message, Throwable cause)


 

Gradle API 1.8