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>

List of all members.

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

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 40 of file UniquenessViolationException.h.


Constructor & Destructor Documentation

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.

Parameters:
t string. Name the table where the exception occurred.
virtual asdm::UniquenessViolationException::~UniquenessViolationException (  )  [virtual]

The DTOR.


Member Function Documentation

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

Member Data Documentation

Definition at line 72 of file UniquenessViolationException.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1