Package: org.apache.groovy.contracts

## [Java] Class CircularAssertionCallException

- org.apache.groovy.contracts.CircularAssertionCallException

-     public class CircularAssertionCallException
      extends RuntimeException

  Thrown whenever pre- or post-conditions are called in a cyclic way.

  See Also:
    AssertionViolation

- - ### Constructor Summary

    Constructors
    Constructor and description
    `CircularAssertionCallException()` Creates an exception without additional detail.
    `CircularAssertionCallException(String s)` Creates an exception with a descriptive message.
    `CircularAssertionCallException(String s, Throwable throwable)` Creates an exception with a descriptive message and the underlying cause.
    `CircularAssertionCallException(Throwable throwable)` Creates an exception that wraps the underlying cause.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `addSuppressed, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public CircularAssertionCallException()

      Creates an exception without additional detail.

    - #### public CircularAssertionCallException(String s)

      Creates an exception with a descriptive message.

      Parameters:
        `s` - the detail message

    - #### public CircularAssertionCallException(String s, Throwable throwable)

      Creates an exception with a descriptive message and the underlying cause.

      Parameters:
        `s` - the detail message
        `throwable` - the root cause

    - #### public CircularAssertionCallException(Throwable throwable)

      Creates an exception that wraps the underlying cause.

      Parameters:
        `throwable` - the root cause