All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Public Member Functions | List of all members
sdf::InternalError Class Reference

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

#include <common/common.hh>

Inheritance diagram for sdf::InternalError:
Inheritance graph
[legend]

Public Member Functions

 InternalError ()
 Constructor. More...
 
 InternalError (const char *_file, int _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, int _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...
 

Detailed Description

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

Constructor & Destructor Documentation

sdf::InternalError::InternalError ( )

Constructor.

sdf::InternalError::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
virtual sdf::InternalError::~InternalError ( )
virtual

Destructor.


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