Class PostconditionViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class PostconditionViolationException
    extends ContractException
    One or more postconditions have been violated.
    See Also:
    Serialized Form
    • 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 Detail

      • PostconditionViolationException

        public PostconditionViolationException​(java.lang.String message,
                                               java.lang.Throwable cause,
                                               int in_violations)
        Construct an exception.
        Parameters:
        cause - The cause
        message - The message
        in_violations - The number of violated conditions
      • PostconditionViolationException

        public PostconditionViolationException​(java.lang.String message,
                                               int in_violations)
        Construct an exception.
        Parameters:
        message - The message
        in_violations - The number of violated conditions