Liking cljdoc? Tell your friends :D

jdk.sql.SQLIntegrityConstraintViolationException

The subclass of SQLException thrown when the SQLState class value is '23', or under vendor-specified conditions. This indicates that an integrity constraint (foreign key, primary key or unique key) has been violated.

Please consult your driver vendor documentation for the vendor-specified conditions for which this Exception may be thrown.

The subclass of SQLException thrown when the SQLState class value
is '23', or under vendor-specified conditions.
This indicates that an integrity
constraint (foreign key, primary key or unique key) has been violated.

Please consult your driver vendor documentation for the vendor-specified
conditions for which this Exception may be thrown.
raw docstring

->sql-integrity-constraint-violation-exceptionclj

(->sql-integrity-constraint-violation-exception)
(->sql-integrity-constraint-violation-exception reason)
(->sql-integrity-constraint-violation-exception reason sql-state)
(->sql-integrity-constraint-violation-exception reason sql-state vendor-code)
(->sql-integrity-constraint-violation-exception reason
                                                sql-state
                                                vendor-code
                                                cause)

Constructor.

Constructs a SQLIntegrityConstraintViolationException object with a given reason, SQLState, vendorCode and cause.

reason - a description of the exception - java.lang.String sql-state - an XOPEN or SQL:2003 code identifying the exception - java.lang.String vendor-code - a database vendor-specific exception code - int cause - the (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. - java.lang.Throwable

Constructor.

Constructs a SQLIntegrityConstraintViolationException object
 with a given
 reason, SQLState, vendorCode
 and  cause.

reason - a description of the exception - `java.lang.String`
sql-state - an XOPEN or SQL:2003 code identifying the exception - `java.lang.String`
vendor-code - a database vendor-specific exception code - `int`
cause - the (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. - `java.lang.Throwable`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close