1 #ifndef SYSTEM_ALREADY_INITIALIZED_EXCEPTION_H
2 #define SYSTEM_ALREADY_INITIALIZED_EXCEPTION_H
9 std::string system_name;
12 this->system_name = system_name;
15 virtual const char*
what()
const throw() {
16 return (this->system_name + std::string(
" has already been initialized! Cannot reinitialize!")).c_str();
virtual const char * what() const
Definition: system_already_initialized_exception.h:15
Definition: system_already_initialized_exception.h:7
SystemAlreadyInitializedException(std::string system_name)
Definition: system_already_initialized_exception.h:11