You are here

IntegrityConstraintViolationException.php in Zircon Profile 8

File

core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Database\IntegrityConstraintViolationException.
 */
namespace Drupal\Core\Database;


/**
 * Exception thrown if a query would violate an integrity constraint.
 *
 * This exception is thrown e.g. when trying to insert a row that would violate
 * a unique key constraint.
 */
class IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException {

}

Classes

Namesort descending Description
IntegrityConstraintViolationException Exception thrown if a query would violate an integrity constraint.