Class UniquenessViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tquadrat.foundation.sql.UniquenessViolationException
All Implemented Interfaces:
Serializable

@ClassVersion(sourceVersion="$Id: UniquenessViolationException.java 1093 2024-02-05 23:04:20Z tquadrat $") @API(status=STABLE, since="0.4.1") public class UniquenessViolationException extends RuntimeException
This exception will be thrown in cases where it is expected that a SELECT statement should return not more than one single record, but the ResultSet holds two or more records.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: UniquenessViolationException.java 1093 2024-02-05 23:04:20Z tquadrat $
Since:
0.4.1
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.sql.UniquenessViolationException"

UML Diagram for "org.tquadrat.foundation.sql.UniquenessViolationException"

UML Diagram for "org.tquadrat.foundation.sql.UniquenessViolationException"
  • Constructor Details

    • UniquenessViolationException

      Creates a new UniquenessViolationException instance.
      Parameters:
      key - The key that was used to access the table.