Package org.apache.groovy.contracts
Class AssertionViolation
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- org.apache.groovy.contracts.AssertionViolation
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassInvariantViolation,PostconditionViolation,PreconditionViolation
public abstract class AssertionViolation extends AssertionError
Abstract base class for all assertion violations.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssertionViolation()protectedAssertionViolation(boolean b)protectedAssertionViolation(char c)protectedAssertionViolation(double v)protectedAssertionViolation(float v)protectedAssertionViolation(int i)protectedAssertionViolation(long l)protectedAssertionViolation(Object o)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AssertionViolation
protected AssertionViolation()
-
AssertionViolation
protected AssertionViolation(Object o)
-
AssertionViolation
protected AssertionViolation(boolean b)
-
AssertionViolation
protected AssertionViolation(char c)
-
AssertionViolation
protected AssertionViolation(int i)
-
AssertionViolation
protected AssertionViolation(long l)
-
AssertionViolation
protected AssertionViolation(float v)
-
AssertionViolation
protected AssertionViolation(double v)
-
-