- gazebo
- common
- Exception
Class for generating exceptions. More...
#include <Exception.hh>
Public Member Functions | |
| Exception () | |
| Constructor. | |
| Exception (const char *file, int line, std::string msg) | |
| Default constructor. | |
| virtual | ~Exception () |
| Destructor. | |
| std::string | GetErrorFile () const |
| Return the error function. | |
| std::string | GetErrorStr () const |
| Return the error string. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const gazebo::common::Exception &err) |
| Ostream operator for Gazebo Error. | |
Class for generating exceptions.
| Exception | ( | const char * | file, |
| int | line, | ||
| std::string | msg | ||
| ) |
Default constructor.
| file | File name |
| line | Line number where the error occurred |
| msg | Error message |
| std::string GetErrorFile | ( | ) | const |
Return the error function.
| std::string GetErrorStr | ( | ) | const |
Return the error string.
1.7.5.1