Package org.apache.groovy.contracts
Class PostconditionViolation
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.apache.groovy.contracts.AssertionViolation
org.apache.groovy.contracts.PostconditionViolation
- All Implemented Interfaces:
Serializable
Thrown whenever a postcondition violation occurs.
- See Also:
-
Constructor Summary
ConstructorDescriptionPostconditionViolation
(boolean b) PostconditionViolation
(char c) PostconditionViolation
(double v) PostconditionViolation
(float v) PostconditionViolation
(int i) PostconditionViolation
(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
-
PostconditionViolation
public PostconditionViolation() -
PostconditionViolation
-
PostconditionViolation
public PostconditionViolation(boolean b) -
PostconditionViolation
public PostconditionViolation(char c) -
PostconditionViolation
public PostconditionViolation(int i) -
PostconditionViolation
public PostconditionViolation(long l) -
PostconditionViolation
public PostconditionViolation(float v) -
PostconditionViolation
public PostconditionViolation(double v)
-