DBWrongTypeError Class Reference
|
Ratpac-two
|
RAT::DBWrongTypeError Class Reference
#include <DBTable.hh>
Inheritance diagram for RAT::DBWrongTypeError:
Public Member Functions | |
| DBWrongTypeError (const std::string &_table, const std::string &_index, const std::string &_field, RAT::DBTable::FieldType _requestedType, RAT::DBTable::FieldType _actualType) | |
| bool | operator== (const DBWrongTypeError &other) const |
Public Member Functions inherited from RAT::DBNotFoundError | |
| DBNotFoundError (const std::string &_table, const std::string &_index, const std::string &_field) | |
| bool | operator== (const DBNotFoundError &other) const |
Public Attributes | |
| RAT::DBTable::FieldType | requestedType |
| RAT::DBTable::FieldType | actualType |
Public Attributes inherited from RAT::DBNotFoundError | |
| std::string | table |
| std::string | index |
| std::string | field |
Detailed Description
Exception: Field has wrong type in RATDB. Inherits from DBNotFoundError to work with existing code that only expects that exception.
Constructor & Destructor Documentation
◆ DBWrongTypeError()
|
inline |
Create new exception.
- Parameters
-
_table Name of table in which field could not be found with requested type _index Index of table in which field could not be found with requested type _field Name of field which could not be found with requested type _requestedType DBTable::FieldType requested _actualType DBTable::FieldType actually present in database
Member Function Documentation
◆ operator==()
|
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
Generated by
Public Member Functions inherited from