annotate core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace Drupal\Core\Database;
Chris@0 4
Chris@0 5 /**
Chris@0 6 * Exception thrown if a query would violate an integrity constraint.
Chris@0 7 *
Chris@0 8 * This exception is thrown e.g. when trying to insert a row that would violate
Chris@0 9 * a unique key constraint.
Chris@0 10 */
Chris@0 11 class IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException {}