All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::common::AssertionInternalError Class Reference

Class for generating Exceptions which come from gazebo assertions. More...

#include <common/common.hh>

Inheritance diagram for gazebo::common::AssertionInternalError:
Inheritance graph
[legend]

Public Member Functions

 AssertionInternalError (const char *_file, int _line, const std::string _expr, const std::string _function, const std::string _msg="")
 Constructor for assertions.
 
virtual ~AssertionInternalError ()
 Destructor.
 
- Public Member Functions inherited from gazebo::common::InternalError
 InternalError ()
 Constructor.
 
 InternalError (const char *_file, int _line, const std::string _msg)
 Default constructor.
 
virtual ~InternalError ()
 Destructor.
 
- Public Member Functions inherited from gazebo::common::Exception
 Exception ()
 Constructor.
 
 Exception (const char *_file, int _line, std::string _msg)
 Default constructor.
 
virtual ~Exception ()
 Destructor.
 
std::string GetErrorFile () const
 Return the error function.
 
std::string GetErrorStr () const
 Return the error string.
 
void Print () const
 Print the exception to std out.
 

Detailed Description

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.

Constructor & Destructor Documentation

gazebo::common::AssertionInternalError::AssertionInternalError ( const char *  _file,
int  _line,
const std::string  _expr,
const std::string  _function,
const std::string  _msg = "" 
)

Constructor for assertions.

Parameters
[in]_fileFile name
[in]_lineLine number where the error occurred
[in]_exprAssertion expression failed resulting in an internal error
[in]_functionFunction where assertion failed
[in]_msgFunction where assertion failed
virtual gazebo::common::AssertionInternalError::~AssertionInternalError ( )
virtual

Destructor.


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