Class for generating exceptions.
More...
#include <common/common.hh>
Inherited by InternalError.
Class for generating exceptions.
Exception |
( |
const char * |
_file, |
|
|
int |
_line, |
|
|
std::string |
_msg |
|
) |
| |
Default constructor.
- Parameters
-
[in] | _file | File name |
[in] | _line | Line number where the error occurred |
[in] | _msg | Error message |
std::string GetErrorFile |
( |
| ) |
const |
Return the error function.
- Returns
- The error function name
std::string GetErrorStr |
( |
| ) |
const |
Return the error string.
- Returns
- The error string
Print the exception to std out.
stream insertion operator for Gazebo Error
- Parameters
-
[in] | _out | the output stream |
[in] | _err | the exception |
The documentation for this class was generated from the following file: