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

Initializes a new instance of the SQLServerException class.

public SQLServerException(com.microsoft.sqlserver.jdbc.IOBuffer io,
                          java.lang.String errText,
                          java.lang.String errState,
                          int errNum,
                          boolean bStack)

参数

io

The io buffer that generated the exception.

errText

A String that contains the exception message.

errState

A String that contains the exception state.

errNum

An int that contains the error number.

bStack

true to generate the stack trace. Otherwise, false.

另请参见

参考

SQLServerException Class

概念

SQLServerException Constructors
SQLServerException Members