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