casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
asdm::UniquenessViolationException Class Reference

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. More...
 
 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. More...
 
virtual ~UniquenessViolationException ()
 The DTOR. More...
 
std::string getMessage () const
 

Protected Attributes

std::string message
 

Detailed Description

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.

Constructor & Destructor Documentation

asdm::UniquenessViolationException::UniquenessViolationException ( )

An empty constructor.

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
tstring. Name the table where the exception occurred.
virtual asdm::UniquenessViolationException::~UniquenessViolationException ( )
virtual

The DTOR.

Member Function Documentation

std::string asdm::UniquenessViolationException::getMessage ( ) const
Returns
a text describing the exception.

Member Data Documentation

std::string asdm::UniquenessViolationException::message
protected

Definition at line 71 of file UniquenessViolationException.h.


The documentation for this class was generated from the following file: