Package org.apache.groovy.contracts
Class ClassInvariantViolation
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.apache.groovy.contracts.AssertionViolation
org.apache.groovy.contracts.ClassInvariantViolation
- All Implemented Interfaces:
Serializable
Thrown whenever a class invariant violation occurs.
- See Also:
-
Constructor Summary
ConstructorDescriptionClassInvariantViolation
(boolean b) ClassInvariantViolation
(char c) ClassInvariantViolation
(double v) ClassInvariantViolation
(float v) ClassInvariantViolation
(int i) ClassInvariantViolation
(long l) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClassInvariantViolation
public ClassInvariantViolation() -
ClassInvariantViolation
-
ClassInvariantViolation
public ClassInvariantViolation(boolean b) -
ClassInvariantViolation
public ClassInvariantViolation(char c) -
ClassInvariantViolation
public ClassInvariantViolation(int i) -
ClassInvariantViolation
public ClassInvariantViolation(long l) -
ClassInvariantViolation
public ClassInvariantViolation(float v) -
ClassInvariantViolation
public ClassInvariantViolation(double v)
-