1 #ifndef LCCD_EXCEPTION_H
2 #define LCCD_EXCEPTION_H 1
22 std::string message{} ;
30 message =
"lccd::Exception: " + text ;
33 virtual const char* what()
const throw() {
return message.c_str() ; }
48 message =
"lccd::DatabaseException: " + text ;
62 message =
"lccd::DataNotAvailableException: " + text ;
76 message =
"lccd::ReadOnlyException: " + text ;
90 message =
"lccd::InconsistencyException: " + text ;
104 message =
"lccd::MemberNotImplementedException: " + text ;
Exception used for (possible) inconsistency warnings.
Definition: lccd_exceptions.h:84
Exception used for general LCCD errors.
Definition: lccd_exceptions.h:19
Exception used for data not available.
Definition: lccd_exceptions.h:56
Exception used for not implemented member functions.
Definition: lccd_exceptions.h:98
Exception used for signaling a 'read only exception'.
Definition: lccd_exceptions.h:70
DatabaseException used for errors accessing the database data.
Definition: lccd_exceptions.h:40