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

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

asdm::NoSuchRow::NoSuchRow (  ) 

An empty CTOR.

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

Create an exception when an expected row cannot be found.

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

Create an exception when an expected row cannot be found.

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

Create an exception when an expected link cannot be found.

Parameters:
N The link number that cannot be found.
toTableName The table to which the link is directed.
fromTableName The 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:
key The key of the link that cannot be found.
toTableName The table to which the link is directed.
fromTableName The 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:
toTableName The table to which the link is directed.
fromTableName The table from which the link is directed.
option Is not really used.
virtual asdm::NoSuchRow::~NoSuchRow (  )  [virtual]

The DTOR.


Member Function Documentation

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

Member Data Documentation

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 file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1