Creates a new SQL exception from a stream error that is detected by the Microsoft SQL Server 2005 JDBC Driver.
public static void makeFromDatabaseError(SQLServerConnection con, com.microsoft.sqlserver.jdbc.IOBuffer io, java.lang.String errText, com.microsoft.sqlserver.jdbc.StreamError streamError, boolean bStack)
Parameters
con
A SQLServerConnection object.
io
An IO buffer object.
errText
A string that contains the exception message.
streamError
A StreamError object.
bStack
True to generate the stack trace. Otherwise, false.