Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.