Consider handling the general DataIntegrityViolationException
instead, semantically including a wider range of constraint violations.
| Access | Constructor and Description |
|---|---|
| public | |
| public | DuplicateKeyException(String
the detail message msg, Throwable the root cause from the data access API in use cause)Constructor for DuplicateKeyException. |
| DuplicateKeyException | back to summary |
|---|---|
| public DuplicateKeyException(String msg) Constructor for DuplicateKeyException.
| |
| DuplicateKeyException | back to summary |
|---|---|
| public DuplicateKeyException(String msg, Throwable cause) Constructor for DuplicateKeyException. | |