Serializable
, Iterable<Throwable>
public final class SQLServerException extends SQLException
Constructor | Description |
---|---|
SQLServerException(Object obj,
String errText,
String errState,
int errNum,
boolean bStack) |
|
SQLServerException(Object obj,
String errText,
String errState,
com.microsoft.sqlserver.jdbc.StreamError streamError,
boolean bStack) |
Make a new SQLException
|
SQLServerException(String errText,
com.microsoft.sqlserver.jdbc.SQLState sqlState,
com.microsoft.sqlserver.jdbc.DriverError driverError,
Throwable cause) |
Make a new SQLException
|
SQLServerException(String errText,
String errState,
int errNum,
Throwable cause) |
|
SQLServerException(String errText,
Throwable cause) |
forEach, spliterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SQLServerException(String errText, com.microsoft.sqlserver.jdbc.SQLState sqlState, com.microsoft.sqlserver.jdbc.DriverError driverError, Throwable cause)
errText
- the exception messagesqlState
- the statementdriverError
- the driver error objectcause
- The exception that caused this exceptionpublic SQLServerException(String errText, String errState, int errNum, Throwable cause)
public SQLServerException(Object obj, String errText, String errState, int errNum, boolean bStack)
public SQLServerException(Object obj, String errText, String errState, com.microsoft.sqlserver.jdbc.StreamError streamError, boolean bStack)
obj
- the objecterrText
- the exception messageerrState
- the exception statestreamError
- the StreamError objectbStack
- true to generate the stack traceCopyright © 2018 Microsoft Corporation. All rights reserved.