org.gradle.api

## Class CircularReferenceException

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

- All Implemented Interfaces:
    Serializable

      public class CircularReferenceException
      extends GradleException

  A `CircularReferenceException` is thrown if circular references exists between tasks, the project evaluation order or the project dependsOn order.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CircularReferenceException(String message)`
    `CircularReferenceException(String message, 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

    - #### CircularReferenceException

          public CircularReferenceException(String message)

    - #### CircularReferenceException

          public CircularReferenceException(String message,
                                    Throwable cause)