2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
|
|
|
|
#include "texception.h"
|
|
|
|
#include "tconvert.h"
|
|
|
|
|
2016-04-19 19:32:17 +12:00
|
|
|
TException::TException(const std::string &msg)
|
2016-03-19 06:57:51 +13:00
|
|
|
{
|
|
|
|
m_msg = toWideString(msg);
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
ostream& operator<<(ostream &out, const TException &e)
|
|
|
|
{
|
|
|
|
return out<<e.getMessage().c_str();
|
|
|
|
}
|
|
|
|
*/
|