Groovy Documentation

org.gradle.api.tasks
[Java] Class TaskInstantiationException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              org.gradle.api.GradleException
                  org.gradle.api.tasks.TaskInstantiationException

public class TaskInstantiationException
extends GradleException

A TaskInstantiationException is thrown when a task cannot be instantiated for some reason.


Constructor Summary
TaskInstantiationException(String message)

TaskInstantiationException(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

TaskInstantiationException

public TaskInstantiationException(String message)


TaskInstantiationException

public TaskInstantiationException(String message, Throwable cause)


 

Gradle API 1.8