Class for generating Exceptions which come from gazebo assertions. More...
#include <common/common.hh>
Inherits InternalError.
Public Member Functions | |
AssertionInternalError (const char *_file, int _line, const std::string &_expr, const std::string &_function, const std::string &_msg="") | |
Constructor for assertions. More... | |
virtual | ~AssertionInternalError () |
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 Exceptions which come from gazebo assertions.
They include information about the assertion expression violated, function where problem appeared and assertion debug message.
AssertionInternalError | ( | const char * | _file, |
int | _line, | ||
const std::string & | _expr, | ||
const std::string & | _function, | ||
const std::string & | _msg = "" |
||
) |
Constructor for assertions.
[in] | _file | File name |
[in] | _line | Line number where the error occurred |
[in] | _expr | Assertion expression failed resulting in an internal error |
[in] | _function | Function where assertion failed |
[in] | _msg | Function where assertion failed |
|
virtual |
Destructor.
|
inherited |
Return the error function.
|
inherited |
Return the error string.
|
inherited |
Print the exception to std out.