Costruttore SQLServerException (java.lang.Object, java.lang.String, java.lang.String, StreamError, boolean)

Scaricare il driver JDBC

Inizializza una nuova istanza della classe SQLServerException quando viene specificato un valore object, un oggetto string, un oggetto string, un oggetto StreamError e un valore boolean.

Sintassi


public SQLServerException(java.lang.Object obj,
            java.lang.String errText,
            java.lang.String errState,
            StreamError streamError,
            boolean bStack)

			

Parametri

obj

Buffer di I/O che ha generato l'eccezione.

errText

Stringa contenente il testo dell'errore.

sqlState

Oggetto enum che contiene lo stato SQL.

streamError

Oggetto StreamError che contiene i dettagli sull'errore.

bStack

Valore booleano che indica se deve essere generata la traccia dello stack.

Vedi anche

Costruttori di SQLServerException
Membri di SQLServerException
Classe SQLServerException