java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.sql.SQLException | ||||
↳ | java.sql.SQLNonTransientException | ||||
↳ | java.sql.SQLDataException |
An exception, which is subclass of SQLException, is thrown when various data errors arise. These errors including division by 0 and invalid arguments to functions
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
| |||||||||||
Creates an SQLDataException object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.sql.SQLException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
|
Creates an SQLDataException object. The Reason string is set to null, the SQLState string is set to null and the Error Code is set to 0.
Creates an SQLDataException object. The Reason string is set to the given reason string, the SQLState string is set to null and the Error Code is set to 0.
reason | the string to use as the Reason string |
---|
Creates an SQLDataException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to 0.
reason | the string to use as the Reason string |
---|---|
sqlState | the string to use as the SQLState string |
Creates an SQLDataException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to the given error code value.
reason | the string to use as the Reason string |
---|---|
sqlState | the string to use as the SQLState string |
vendorCode | the integer value for the error code |
Creates an SQLDataException object. The Reason string is set to the null if cause == null or cause.toString() if cause!=null,and the cause Throwable object is set to the given cause Throwable object.
cause | the Throwable object for the underlying reason this SQLException |
---|
Creates an SQLDataException object. The Reason string is set to the given and the cause Throwable object is set to the given cause Throwable object.
reason | the string to use as the Reason string |
---|---|
cause | the Throwable object for the underlying reason this SQLException |
Creates an SQLDataException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the cause Throwable object is set to the given cause Throwable object.
reason | the string to use as the Reason string |
---|---|
sqlState | the string to use as the SQLState string |
cause | the Throwable object for the underlying reason this SQLException |
Creates an SQLDataException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string , the Error Code is set to the given error code value, and the cause Throwable object is set to the given cause Throwable object.
reason | the string to use as the Reason string |
---|---|
sqlState | the string to use as the SQLState string |
vendorCode | the integer value for the error code |
cause | the Throwable object for the underlying reason this SQLException |