public SQLException (String reason, String SQLState, int vendorCode)

Constructs a SQLException object with a given reason, SQLState and vendorCode. The cause is not initialized, and may subsequently be initialized by a call to the Throwable.initCause(java.lang.Throwable) method.

Parameters:
reason    a description of the exception
SQLState    an XOPEN or SQL:2003 code identifying the exception
vendorCode    a database vendor-specific exception code