Public Member Functions | List of all members
sdf::v9::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 sdf::v9::Exception.

Inherited by sdf::v9::AssertionInternalError.

Public Member Functions

 InternalError ()
 Constructor. More...
 
 InternalError (const char *_file, std::int64_t _line, const std::string _msg)
 Default constructor. More...
 
virtual ~InternalError ()
 Destructor. More...
 
- Public Member Functions inherited from sdf::v9::Exception
 Exception ()
 Constructor. More...
 
 Exception (const char *_file, std::int64_t _line, std::string _msg)
 Default constructor. More...
 
 Exception (const Exception &_e)
 Copy constructor. More...
 
 Exception (Exception &&_e) noexcept
 Move constructor. More...
 
virtual ~Exception ()
 Destructor. More...
 
std::string GetErrorFile () const
 Return the error function. More...
 
std::string GetErrorStr () const
 Return the error string. More...
 
Exceptionoperator= (const Exception &_exception)
 Assignment operator. More...
 
Exceptionoperator= (Exception &&_exception)
 Move assignment operator. 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]

sdf::v9::InternalError::InternalError ( )

Constructor.

◆ InternalError() [2/2]

sdf::v9::InternalError::InternalError ( const char *  _file,
std::int64_t  _line,
const std::string  _msg 
)

Default constructor.

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

◆ ~InternalError()

virtual sdf::v9::InternalError::~InternalError ( )
virtual

Destructor.


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