public SQLException (String reason, String SQLState)

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.

Parameters:
reason    a description of the exception
SQLState    an XOPEN or SQL:2003 code identifying the exception