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.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SQLDataException(String
a description of the exception reason)Constructs a |
| public | SQLDataException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState)Constructs a |
| public | SQLDataException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, int a database vendor specific exception code vendorCode)Constructs a |
| public | SQLDataException(Throwable
the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLDataException(String
a description of the exception. reason, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLDataException(String
a description of the exception. reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLDataException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, int a database vendor-specific exception code vendorCode, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException() Constructs a
| |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason) Constructs a
| |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason, String SQLState) Constructs a | |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason, String SQLState, int vendorCode) Constructs a | |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(Throwable cause) Constructs a
| |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason, Throwable cause) Constructs a | |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason, String SQLState, Throwable cause) Constructs a
| |
| SQLDataException | back to summary |
|---|---|
| public SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause) Constructs a
| |