Package org.gradle.api

## Class UnknownTaskException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.gradle.api.GradleException
        - - org.gradle.api.UnknownDomainObjectException
          - - org.gradle.api.UnknownTaskException

- All Implemented Interfaces:
    `java.io.Serializable`

      public class UnknownTaskException
      extends UnknownDomainObjectException

  An `UnknownTaskException` is thrown when a task referenced by path cannot be found.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UnknownTaskException​(java.lang.String message)` |
    `UnknownTaskException​(java.lang.String message, java.lang.Throwable cause)` |

  - ### 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

    - #### UnknownTaskException

          public UnknownTaskException​(java.lang.String message)

    - #### UnknownTaskException

          public UnknownTaskException​(java.lang.String message,
                                      java.lang.Throwable cause)