Serves as a superclass for more specific exceptions, e.g.
DuplicateKeyException. However, it is generally
recommended to handle DataIntegrityViolationException
itself instead of relying on specific exception subclasses.
| Access | Constructor and Description |
|---|---|
| public | DataIntegrityViolationException(String
the detail message msg)Constructor for DataIntegrityViolationException. |
| public | DataIntegrityViolationException(String
the detail message msg, Throwable the root cause from the data access API in use cause)Constructor for DataIntegrityViolationException. |
| DataIntegrityViolationException | back to summary |
|---|---|
| public DataIntegrityViolationException(String msg) Constructor for DataIntegrityViolationException.
| |
| DataIntegrityViolationException | back to summary |
|---|---|
| public DataIntegrityViolationException(String msg, Throwable cause) Constructor for DataIntegrityViolationException. | |