Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs.
More...
#include <common/common.hh>
Inherits Exception.
Inherited by AssertionInternalError.
Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs.
◆ InternalError() [1/2]
◆ InternalError() [2/2]
InternalError |
( |
const char * |
_file, |
|
|
int |
_line, |
|
|
const std::string & |
_msg |
|
) |
| |
Default constructor.
- Parameters
-
[in] | _file | File name |
[in] | _line | Line number where the error occurred |
[in] | _msg | Error message |
◆ ~InternalError()
◆ GetErrorFile()
std::string GetErrorFile |
( |
| ) |
const |
|
inherited |
Return the error function.
- Returns
- The error function name
◆ GetErrorStr()
std::string GetErrorStr |
( |
| ) |
const |
|
inherited |
Return the error string.
- Returns
- The error string
◆ Print()
Print the exception to std out.
The documentation for this class was generated from the following file: