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. More... | |
InternalError (const char *_file, int64_t _line, const std::string _msg) | |
Default constructor. More... | |
virtual | ~InternalError () |
Destructor. More... | |
Public Member Functions inherited from sdf::Exception | |
Exception () | |
Constructor. More... | |
Exception (const char *_file, int64_t _line, std::string _msg) | |
Default constructor. More... | |
virtual | ~Exception () |
Destructor. More... | |
std::string | GetErrorFile () const |
Return the error function. More... | |
std::string | GetErrorStr () const |
Return the error string. More... | |
void | Print () const |
Print the exception to std out. More... | |
Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs.
sdf::InternalError::InternalError | ( | ) |
Constructor.
sdf::InternalError::InternalError | ( | const char * | _file, |
int64_t | _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.