16 lines
297 B
C++
16 lines
297 B
C++
|
#include "Exception.h"
|
||
|
|
||
|
Exception::Exception(const std::string& message, const std::string& class_name)
|
||
|
: m_message(message), m_class_name(class_name)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
const std::string& Exception::get_message()
|
||
|
{
|
||
|
return m_message;
|
||
|
}
|
||
|
|
||
|
const std::string& Exception::get_class_name()
|
||
|
{
|
||
|
return m_class_name;
|
||
|
}
|