|
tobicore
7.0.0
|
Exception class. More...
#include <tobicore/TCException.hpp>
Collaboration diagram for TCException:Public Member Functions | |
| TCException (std::string info, std::string caller="undef") | |
| Constructor. | |
| virtual | ~TCException (void) |
| Destructor. | |
| virtual std::string | GetCaller (void) const |
| Caller getter. | |
| virtual std::string | GetInfo (void) const |
| Message getter. | |
| bool | operator== (const TCException &right) |
| Operator == overload. | |
| bool | operator!= (const TCException &right) |
| Operator != overload. | |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const TCException &) |
| Operator << overload. | |
| std::ostream & | operator<< (std::ostream &output, const TCException *) |
| Operator << overload. | |
Exception class.
Definition at line 28 of file TCException.hpp.
| TCException::TCException | ( | std::string | info, |
| std::string | caller = "undef" |
||
| ) |
Constructor.
| info | Exception message |
| caller | Method that raised the exception (default: "undef") |
Definition at line 24 of file TCException.cpp.
|
virtual |
|
virtual |
Message getter.
Definition at line 36 of file TCException.cpp.
Here is the caller graph for this function:| bool TCException::operator!= | ( | const TCException & | right | ) |
Operator != overload.
To compare two different exceptions
Definition at line 56 of file TCException.cpp.
Here is the call graph for this function:| bool TCException::operator== | ( | const TCException & | right | ) |
Operator == overload.
To compare two different exceptions
Definition at line 52 of file TCException.cpp.
Here is the call graph for this function:
|
friend |
|
friend |