Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs. More...
#include <common/common.hh>
Public Member Functions | |
InternalError () | |
Constructor. | |
InternalError (const char *_file, int _line, const std::string _msg) | |
Default constructor. | |
virtual | ~InternalError () |
Destructor. | |
Public Member Functions inherited from gazebo::common::Exception | |
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. | |
void | Print () const |
Print the exception to std out. | |
Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs.
gazebo::common::InternalError::InternalError | ( | ) |
Constructor.
gazebo::common::InternalError::InternalError | ( | const char * | _file, |
int | _line, | ||
const std::string | _msg | ||
) |
Default constructor.
[in] | _file | File name |
[in] | _line | Line number where the error occurred |
[in] | _msg | Error message |
|
virtual |
Destructor.