Class InvariantViolationException

All Implemented Interfaces:
Serializable

public final class InvariantViolationException extends ContractException
One or more invariants have been violated.
See Also:
  • Constructor Details

    • InvariantViolationException

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

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