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

Generate an exception when a new row cannot be inserted because it contains a duplicate key. More...

#include <DuplicateKey.h>

Public Member Functions

 DuplicateKey ()
 An empty CTOR. More...
 
 DuplicateKey (const std::string &m, const std::string &t)
 Create an exception if an error occurs in converting a table to its external representation or in restoring a table from one of its external representations. More...
 
 ~DuplicateKey ()
 The DTOR. More...
 
std::string getMessage () const
 

Protected Attributes

std::string message
 

Static Private Attributes

static const std::string ITSNAME
 

Detailed Description

Generate an exception when a new row cannot be inserted because it contains a duplicate key.

Definition at line 38 of file DuplicateKey.h.

Constructor & Destructor Documentation

asdm::DuplicateKey::DuplicateKey ( )

An empty CTOR.

asdm::DuplicateKey::DuplicateKey ( const std::string &  m,
const std::string &  t 
)

Create an exception if an error occurs in converting a table to its external representation or in restoring a table from one of its external representations.

Parameters
mThe conversion error.
tThe table being converted.
asdm::DuplicateKey::~DuplicateKey ( )

The DTOR.

Member Function Documentation

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

Member Data Documentation

const std::string asdm::DuplicateKey::ITSNAME
staticprivate

Definition at line 70 of file DuplicateKey.h.

std::string asdm::DuplicateKey::message
protected

Definition at line 67 of file DuplicateKey.h.


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