SQLServerException Members

The following tables list the members exposed by the SQLServerException class.

Constructors

Name Description

SQLServerException (com.microsoft.sqlserver.jdbc.IOBuffer, java.lang.String, java.lang.String, int, boolean)

Initializes a new instance of the SQLServerException class.

SQLServerException (com.microsoft.sqlserver.jdbc.IOBuffer, java.lang.String, java.lang.String, com.microsoft.sqlserver.jdbc.StreamError, boolean)

Initializes a new instance of the SQLServerException class.

Fields

None.

Inherited Fields

None.

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 detected by the Microsoft SQL Server 2005 JDBC Driver.

makeFromDriverError

Creates a new SQL exception from an error 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

Reference

SQLServerException Class