5 #ifndef BPP_NUMERIC_TABLEEXCEPTIONS_H 6 #define BPP_NUMERIC_TABLEEXCEPTIONS_H 12 #include "../Exceptions.h" 13 #include "../Text/TextTools.h" 31 Exception(
"TableNameNotFoundException: " + name +
". " + text), _name(name) {}
71 Exception(
"NoTableRowNamesException: " + text) {}
84 Exception(
"NoTableColumnNamesException: " + text) {}
96 Exception(
"TableRowNamesException: " + text) {}
108 Exception(
"TableColumnNamesException: " + text) {}
120 Exception(
"DuplicatedTableRowNameException: " + text) {}
132 Exception(
"DuplicatedTableColumnNameException: " + text) {}
136 #endif // BPP_NUMERIC_TABLEEXCEPTIONS_H std::string getName() const
virtual ~TableNameNotFoundException()
TableRowNameNotFoundException(const std::string &text, const std::string &name)
NoTableRowNamesException(const std::string &text)
virtual ~TableColumnNamesException()
NoTableColumnNamesException(const std::string &text)
TableNameNotFoundException(const std::string &text, const std::string &name)
DuplicatedTableRowNameException(const std::string &text)
virtual ~TableRowNamesException()
Exception thrown when a given column name is not found is a DataTable object.
Exception thrown when attempting to duplicate a row name.
Exception thrown when trying to retrieve a row by its name and no row names have been specified...
TableRowNamesException(const std::string &text)
virtual ~DuplicatedTableColumnNameException()
DuplicatedTableColumnNameException(const std::string &text)
virtual ~NoTableColumnNamesException()
Exception thrown when a given row name is not found is a DataTable object.
virtual ~TableColumnNameNotFoundException()
Excpetion thrown when attempting to duplicate a column name.
Exception thrown when trying to retrieve a column by its name and no column names have been specified...
TableColumnNamesException(const std::string &text)
Exception base class. Overload exception constructor (to control the exceptions mechanism). Destructor is already virtual (from std::exception)
virtual ~TableRowNameNotFoundException()
virtual ~DuplicatedTableRowNameException()
TableColumnNameNotFoundException(const std::string &text, const std::string &name)
Exception thrown when a given name is not found is a DataTable object.
General exception class dealing with column names.
General exception class dealing with row names.
virtual ~NoTableRowNamesException()