public class SQLDataException extends SQLNonTransientException
Constructor and Description |
---|
SQLDataException()
Creates an SQLDataException object.
|
SQLDataException(String reason)
Creates an SQLDataException object.
|
SQLDataException(String reason,
String sqlState)
Creates an SQLDataException object.
|
SQLDataException(String reason,
String sqlState,
int vendorCode)
Creates an SQLDataException object.
|
SQLDataException(String reason,
String sqlState,
int vendorCode,
Throwable cause)
Creates an SQLDataException object.
|
SQLDataException(String reason,
String sqlState,
Throwable cause)
Creates an SQLDataException object.
|
SQLDataException(String reason,
Throwable cause)
Creates an SQLDataException object.
|
SQLDataException(Throwable cause)
Creates an SQLDataException object.
|
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SQLDataException()
public SQLDataException(String reason)
reason
- the string to use as the Reason stringpublic SQLDataException(String reason, String sqlState)
reason
- the string to use as the Reason stringsqlState
- the string to use as the SQLState stringpublic SQLDataException(String reason, String sqlState, int vendorCode)
reason
- the string to use as the Reason stringsqlState
- the string to use as the SQLState stringvendorCode
- the integer value for the error codepublic SQLDataException(Throwable cause)
cause
- the Throwable object for the underlying reason this
SQLExceptionpublic SQLDataException(String reason, Throwable cause)
reason
- the string to use as the Reason stringcause
- the Throwable object for the underlying reason this
SQLExceptionpublic SQLDataException(String reason, String sqlState, Throwable cause)
reason
- the string to use as the Reason stringsqlState
- the string to use as the SQLState stringcause
- the Throwable object for the underlying reason this
SQLExceptionpublic SQLDataException(String reason, String sqlState, int vendorCode, Throwable cause)
reason
- the string to use as the Reason stringsqlState
- the string to use as the SQLState stringvendorCode
- the integer value for the error codecause
- the Throwable object for the underlying reason this
SQLException