Code example for SQLException

Methods: getErrorCode, getMessage, getSQLState