Class UniqueViolationException

  • All Implemented Interfaces:
    Serializable

    public final class UniqueViolationException
    extends ConstraintViolationException
    Signals, that an attempt to write an field has been failed, and the value to be set violated a unique constraint. This exception will be thrown by Item.set and item constructors if that field is covered by a unique constraint and the value to be set violated the uniqueness.
    Author:
    Ralf Wiebicke
    See Also:
    Serialized Form