Constructs a SQLException
object with a given
reason
and SQLState
.
The cause
is not initialized, and may subsequently be
initialized by a call to the
Throwable.initCause(java.lang.Throwable)
method. The vendor code
is initialized to 0.
reason | a description of the exception | |
SQLState | an XOPEN or SQL:2003 code identifying the exception |
Diagram: Exceptions