InternalError Class Reference

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.

Public Member Functions

 InternalError ()
 Constructor. More...
 
 InternalError (const char *_file, int _line, const std::string &_msg)
 Default constructor. More...
 
virtual ~InternalError ()
 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...
 

Detailed Description

Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs.

Constructor & Destructor Documentation

§ InternalError() [1/2]

Constructor.

§ InternalError() [2/2]

InternalError ( const char *  _file,
int  _line,
const std::string &  _msg 
)

Default constructor.

Parameters
[in]_fileFile name
[in]_lineLine number where the error occurred
[in]_msgError message

§ ~InternalError()

virtual ~InternalError ( )
virtual

Destructor.

Member Function Documentation

§ 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()

void Print ( ) const
inherited

Print the exception to std out.


The documentation for this class was generated from the following file: