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>
Public Member Functions | |
UniquenessViolationException () | |
An empty constructor. | |
UniquenessViolationException (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. | |
virtual | ~UniquenessViolationException () |
The DTOR. | |
string | getMessage () const |
Protected Attributes | |
string | message |
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 40 of file UniquenessViolationException.h.
asdm::UniquenessViolationException::UniquenessViolationException | ( | ) |
An empty constructor.
asdm::UniquenessViolationException::UniquenessViolationException | ( | 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.
t | string. Name the table where the exception occurred. |
virtual asdm::UniquenessViolationException::~UniquenessViolationException | ( | ) | [virtual] |
The DTOR.
string asdm::UniquenessViolationException::getMessage | ( | ) | const |
string asdm::UniquenessViolationException::message [protected] |
Definition at line 72 of file UniquenessViolationException.h.