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::NoSuchRow Class Reference

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

#include <NoSuchRow.h>

Public Member Functions

 NoSuchRow ()
 An empty CTOR. More...
 
 NoSuchRow (int rowNumber, std::string tableName)
 Create an exception when an expected row cannot be found. More...
 
 NoSuchRow (std::string key, std::string tableName)
 Create an exception when an expected row cannot be found. More...
 
 NoSuchRow (int N, std::string toTableName, std::string fromTableName)
 Create an exception when an expected link cannot be found. More...
 
 NoSuchRow (std::string key, std::string toTableName, std::string fromTableName)
 Create an exception when an expected link cannot be found. More...
 
 NoSuchRow (std::string toTableName, std::string fromTableName, bool option)
 Create an exception when an optional link does not exist. More...
 
virtual ~NoSuchRow ()
 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 an expected row cannot be found.

Definition at line 38 of file NoSuchRow.h.

Constructor & Destructor Documentation

asdm::NoSuchRow::NoSuchRow ( )

An empty CTOR.

asdm::NoSuchRow::NoSuchRow ( int  rowNumber,
std::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 ( std::string  key,
std::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,
std::string  toTableName,
std::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 ( std::string  key,
std::string  toTableName,
std::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 ( std::string  toTableName,
std::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

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

Member Data Documentation

const std::string asdm::NoSuchRow::ITSNAME
staticprivate

Definition at line 100 of file NoSuchRow.h.

std::string asdm::NoSuchRow::message
protected

Definition at line 97 of file NoSuchRow.h.


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