The subclass of SQLException thrown when the SQLState class value is '22', or under vendor-specified conditions. This indicates various data errors, including but not limited to data conversion errors, division by 0, and invalid arguments to functions.
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 '22', or under vendor-specified conditions. This indicates various data errors, including but not limited to data conversion errors, division by 0, and invalid arguments to functions. Please consult your driver vendor documentation for the vendor-specified conditions for which this Exception may be thrown.
(->sql-data-exception)
(->sql-data-exception reason)
(->sql-data-exception reason sql-state)
(->sql-data-exception reason sql-state vendor-code)
(->sql-data-exception reason sql-state vendor-code cause)
Constructor.
Constructs a SQLDataException 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 underlying reason for this SQLException (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 SQLDataException 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 underlying reason for this SQLException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. - `java.lang.Throwable`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close