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`

public class PostconditionViolation extends AssertionViolation

Thrown whenever a postcondition violation occurs.

See Also:
  - `AssertionViolation`
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PostconditionViolation()`
  `PostconditionViolation(boolean b)`
  `PostconditionViolation(char c)`
  `PostconditionViolation(double v)`
  `PostconditionViolation(float v)`
  `PostconditionViolation(int i)`
  `PostconditionViolation(long l)`
  `PostconditionViolation(Object o)`

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PostconditionViolation

    public PostconditionViolation()

  - ### PostconditionViolation

    public PostconditionViolation(Object o)

  - ### 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)