Class CircularAssertionCallException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.groovy.contracts.CircularAssertionCallException
All Implemented Interfaces:
Serializable

public class CircularAssertionCallException extends RuntimeException

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

See Also:
  • Constructor Details

    • CircularAssertionCallException

      public CircularAssertionCallException()
      Creates an exception without additional detail.
    • CircularAssertionCallException

      public CircularAssertionCallException(String s)
      Creates an exception with a descriptive message.
      Parameters:
      s - the detail message
    • CircularAssertionCallException

      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
    • CircularAssertionCallException

      public CircularAssertionCallException(Throwable throwable)
      Creates an exception that wraps the underlying cause.
      Parameters:
      throwable - the root cause