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

Generate an exception when an expected row cannot be found. More...

#include <NoSuchRow.h>

List of all members.

Public Member Functions

 NoSuchRow ()
 An empty CTOR.
 NoSuchRow (int rowNumber, string tableName)
 Create an exception when an expected row cannot be found.
 NoSuchRow (string key, string tableName)
 Create an exception when an expected row cannot be found.
 NoSuchRow (int N, string toTableName, string fromTableName)
 Create an exception when an expected link cannot be found.
 NoSuchRow (string key, string toTableName, string fromTableName)
 Create an exception when an expected link cannot be found.
 NoSuchRow (string toTableName, string fromTableName, bool option)
 Create an exception when an optional link does not exist.
virtual ~NoSuchRow ()
 The DTOR.
string getMessage () const
 NoSuchRow ()
 An empty CTOR.
 NoSuchRow (int rowNumber, string tableName)
 Create an exception when an expected row cannot be found.
 NoSuchRow (string key, string tableName)
 Create an exception when an expected row cannot be found.
 NoSuchRow (int N, string toTableName, string fromTableName)
 Create an exception when an expected link cannot be found.
 NoSuchRow (string key, string toTableName, string fromTableName)
 Create an exception when an expected link cannot be found.
 NoSuchRow (string toTableName, string fromTableName, bool option)
 Create an exception when an optional link does not exist.
virtual ~NoSuchRow ()
 The DTOR.
string getMessage () const

Protected Attributes

string message

Static Private Attributes

static const string ITSNAME

Detailed Description

Generate an exception when an expected row cannot be found.

Definition at line 41 of file NoSuchRow.h.


Constructor & Destructor Documentation

An empty CTOR.

asdm::NoSuchRow::NoSuchRow ( int  rowNumber,
string  tableName 
)

Create an exception when an expected row cannot be found.

Parameters:
rowNumberThe row number that cannot be found.
tableNameThe table being searched.
asdm::NoSuchRow::NoSuchRow ( string  key,
string  tableName 
)

Create an exception when an expected row cannot be found.

Parameters:
keyThe key of the row that cannot be found.
tableNameThe table being searched.
asdm::NoSuchRow::NoSuchRow ( int  N,
string  toTableName,
string  fromTableName 
)

Create an exception when an expected link cannot be found.

Parameters:
NThe link number that cannot be found.
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
asdm::NoSuchRow::NoSuchRow ( string  key,
string  toTableName,
string  fromTableName 
)

Create an exception when an expected link cannot be found.

Parameters:
keyThe key of the link that cannot be found.
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
asdm::NoSuchRow::NoSuchRow ( string  toTableName,
string  fromTableName,
bool  option 
)

Create an exception when an optional link does not exist.

Parameters:
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
optionIs not really used.
virtual asdm::NoSuchRow::~NoSuchRow ( ) [virtual]

The DTOR.

An empty CTOR.

asdm::NoSuchRow::NoSuchRow ( int  rowNumber,
string  tableName 
)

Create an exception when an expected row cannot be found.

Parameters:
rowNumberThe row number that cannot be found.
tableNameThe table being searched.
asdm::NoSuchRow::NoSuchRow ( string  key,
string  tableName 
)

Create an exception when an expected row cannot be found.

Parameters:
keyThe key of the row that cannot be found.
tableNameThe table being searched.
asdm::NoSuchRow::NoSuchRow ( int  N,
string  toTableName,
string  fromTableName 
)

Create an exception when an expected link cannot be found.

Parameters:
NThe link number that cannot be found.
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
asdm::NoSuchRow::NoSuchRow ( string  key,
string  toTableName,
string  fromTableName 
)

Create an exception when an expected link cannot be found.

Parameters:
keyThe key of the link that cannot be found.
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
asdm::NoSuchRow::NoSuchRow ( string  toTableName,
string  fromTableName,
bool  option 
)

Create an exception when an optional link does not exist.

Parameters:
toTableNameThe table to which the link is directed.
fromTableNameThe table from which the link is directed.
optionIs not really used.
virtual asdm::NoSuchRow::~NoSuchRow ( ) [virtual]

The DTOR.


Member Function Documentation

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

Member Data Documentation

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

Definition at line 103 of file NoSuchRow.h.

string asdm::NoSuchRow::message [protected]

Definition at line 100 of file NoSuchRow.h.


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