Package org.apache.groovy.contracts
Class CircularAssertionCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.groovy.contracts.CircularAssertionCallException
- All Implemented Interfaces:
Serializable
Thrown whenever pre- or post-conditions are called in a cyclic way.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception without additional detail.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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CircularAssertionCallException
public CircularAssertionCallException()Creates an exception without additional detail. -
CircularAssertionCallException
Creates an exception with a descriptive message.- Parameters:
s- the detail message
-
CircularAssertionCallException
Creates an exception with a descriptive message and the underlying cause.- Parameters:
s- the detail messagethrowable- the root cause
-
CircularAssertionCallException
Creates an exception that wraps the underlying cause.- Parameters:
throwable- the root cause
-