DBNotFoundError Class Reference

Ratpac-two: RAT::DBNotFoundError Class Reference
Ratpac-two
RAT::DBNotFoundError Class Reference

#include <DBTable.hh>

Inheritance diagram for RAT::DBNotFoundError:
RAT::DBWrongTypeError

Public Member Functions

 DBNotFoundError (const std::string &_table, const std::string &_index, const std::string &_field)
 
bool operator== (const DBNotFoundError &other) const
 

Public Attributes

std::string table
 
std::string index
 
std::string field
 

Detailed Description

Exception: Field not found in RATDB

Constructor & Destructor Documentation

◆ DBNotFoundError()

RAT::DBNotFoundError::DBNotFoundError ( const std::string &  _table,
const std::string &  _index,
const std::string &  _field 
)
inline

Create new exception.

Parameters
_tableName of table in which field could not be found
_indexIndex of table in which field could not be found
_fieldName of field which could not be found

Member Function Documentation

◆ operator==()

bool RAT::DBNotFoundError::operator== ( const DBNotFoundError other) const
inline

Compare if other has the same table, index and field as this.


The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/include/RAT/DBTable.hh