#pragma once #include class CPUException : std::runtime_error { public: CPUException(std::string what) : std::runtime_error(what), m_What(what) { } ~CPUException() = default; std::string GetMessage() { return m_What; } private: std::string m_What; };