The following tables list the methods that are exposed by the SQLServerException class.

Methods

Name Description

generateStateCode

Generates the JDBC state code based on the error number returned from the database.

makeFromDatabaseError

Creates a new SQL exception from a stream error that is detected by the Microsoft SQL Server 2005 JDBC Driver.

makeFromDriverError

Creates a new SQL exception from an error that is detected by the Microsoft SQL Server 2005 JDBC Driver.

mapFromXopen

Used to map the XOPEN state.

Inherited Methods

Class inherited from: Methods

java.sql.SQLException

getErrorCode, getNextException, getSQLState, setNextException

java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait

See Also