19 #ifndef TCEXCEPTION_CPP
20 #define TCEXCEPTION_CPP
22 #include "TCException.hpp"
26 this->_caller = caller;
40 std::ostream &operator<<(std::ostream& output,
const TCException& obj) {
41 output << std::string(
"[") << obj.
GetCaller() << std::string(
"] ")
46 std::ostream &operator<<(std::ostream& output,
const TCException* obj) {
47 output << std::string(
"[") << obj->
GetCaller() << std::string(
"] ")
53 return(this->_info.compare(right.
GetInfo()) == 0);
57 return(this->_info.compare(right.
GetInfo()) != 0);