casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes | Static Private Attributes
asdm::DuplicateKey Class Reference

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

#include <DuplicateKey.h>

List of all members.

Public Member Functions

 DuplicateKey ()
 An empty CTOR.
 DuplicateKey (const string &m, const 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.
 ~DuplicateKey ()
 The DTOR.
string getMessage () const
 DuplicateKey ()
 An empty CTOR.
 DuplicateKey (const string &m, const 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.
 ~DuplicateKey ()
 The DTOR.
string getMessage () const

Protected Attributes

string message

Static Private Attributes

static const string ITSNAME

Detailed Description

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

Definition at line 39 of file DuplicateKey.h.


Constructor & Destructor Documentation

An empty CTOR.

asdm::DuplicateKey::DuplicateKey ( const string &  m,
const 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.

The DTOR.

An empty CTOR.

asdm::DuplicateKey::DuplicateKey ( const string &  m,
const 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.

The DTOR.


Member Function Documentation

Returns:
a text describing the exception.
Returns:
a text describing the exception.

Member Data Documentation

static const string asdm::DuplicateKey::ITSNAME [static, private]

Definition at line 71 of file DuplicateKey.h.

string asdm::DuplicateKey::message [protected]

Definition at line 68 of file DuplicateKey.h.


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