public class SQLIntegrityConstraintViolationException extends SQLNonTransientException
| Constructor and Description |
|---|
SQLIntegrityConstraintViolationException()
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason,
String sqlState)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason,
String sqlState,
int vendorCode)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason,
String sqlState,
int vendorCode,
Throwable cause)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason,
String sqlState,
Throwable cause)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(String reason,
Throwable cause)
Creates an SQLIntegrityConstraintViolationException object.
|
SQLIntegrityConstraintViolationException(Throwable cause)
Creates an SQLIntegrityConstraintViolationException object.
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SQLIntegrityConstraintViolationException()
public SQLIntegrityConstraintViolationException(String reason)
reason - the string to use as the Reason stringpublic SQLIntegrityConstraintViolationException(String reason, String sqlState)
reason - the string to use as the Reason stringsqlState - the string to use as the SQLState stringpublic SQLIntegrityConstraintViolationException(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 SQLIntegrityConstraintViolationException(Throwable cause)
cause - the Throwable object for the underlying reason this
SQLExceptionpublic SQLIntegrityConstraintViolationException(String reason, Throwable cause)
reason - the string to use as the Reason stringcause - the Throwable object for the underlying reason this
SQLExceptionpublic SQLIntegrityConstraintViolationException(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 SQLIntegrityConstraintViolationException(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