Class ConstraintException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • java.lang.IllegalStateException
  • All Implemented Interfaces:

    public final class ConstraintException
    extends java.lang.IllegalStateException
    Represents the exception that is thrown when attempting an action that violates a constraint.
    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

      • ConstraintException

        public ConstraintException(java.lang.String s)
        Initializes a new instance of the ConstraintException class with the specified string.
        s - The string to display when the exception is thrown.