jdk/src/share/classes/java/sql/SQLIntegrityConstraintViolationException.java
changeset 6528 06df0b8bf209
parent 5506 202f599c92aa
child 6531 30b5903e8301
equal deleted inserted replaced
6527:352bf578a6dd 6528:06df0b8bf209
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2006, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    24  */
    24  */
    25 
    25 
    26 package java.sql;
    26 package java.sql;
    27 
    27 
    28 /**
    28 /**
    29  * The subclass of {@link SQLException} thrown when the SQLState class value is '<i>23</i>'. This indicates that an integrity
    29  * The subclass of {@link SQLException} thrown when the SQLState class value
       
    30  * is '<i>23</i>', or under vendor-specified conditions.
       
    31  * This indicates that an integrity
    30  * constraint (foreign key, primary key or unique key) has been violated.
    32  * constraint (foreign key, primary key or unique key) has been violated.
    31  *
    33  * <p>
       
    34  * Please consult your driver vendor documentation for the vendor-specified
       
    35  * conditions for which this <code>Exception</code> may be thrown.
    32  * @since 1.6
    36  * @since 1.6
    33  */
    37  */
    34 public class SQLIntegrityConstraintViolationException extends SQLNonTransientException {
    38 public class SQLIntegrityConstraintViolationException extends SQLNonTransientException {
    35 
    39 
    36         /**
    40         /**