The UniquenessViolationException class represents an exception occuring when one tries to add a row in table whose all mandatory attributes values except the autoincrementable one are already met in an existing row of the table.
More...
#include <UniquenessViolationException.h>
The UniquenessViolationException class represents an exception occuring when one tries to add a row in table whose all mandatory attributes values except the autoincrementable one are already met in an existing row of the table.
Definition at line 39 of file UniquenessViolationException.h.
asdm::UniquenessViolationException::UniquenessViolationException |
( |
| ) |
|
asdm::UniquenessViolationException::UniquenessViolationException |
( |
std::string |
t | ) |
|
Create an exception exception occuring when one tries to add a row in table whose all mandatory attributes values except the autoincrementable one are already met in an existing row of the table.
- Parameters
-
t | string. Name the table where the exception occurred. |
virtual asdm::UniquenessViolationException::~UniquenessViolationException |
( |
| ) |
|
|
virtual |
std::string asdm::UniquenessViolationException::getMessage |
( |
| ) |
const |
- Returns
- a text describing the exception.
std::string asdm::UniquenessViolationException::message |
|
protected |
The documentation for this class was generated from the following file: