Edit

Share via


SQLServerException Constructor (java.lang.Object, java.lang.String, java.lang.String, int, boolean)

Download JDBC driver

Initializes a new instance of the SQLServerException class when given an object, a string object, a string object, an int, and a boolean.

Syntax


public SQLServerException(java.lang.Object obj,
            java.lang.String errText,
            java.lang.String errState,
            int errNum,
            boolean bStack)

			

Parameters

obj

The IO buffer that generated the exception.

errText

A string containing the error text.

sqlState

An enum object that contains the SQL state.

errNum

An int that contain the error code for the exception.

bStack

A boolean that indicates if the stack trace should be generated.

See Also

SQLServerException Constructors
SQLServerException Members
SQLServerException Class