Loading...
Searching...
No Matches
Public Member Functions | List of all members
sdf::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::Exception.

Inherited by sdf::SDF_VERSION_NAMESPACE::AssertionInternalError.

Public Member Functions

 InternalError ()
 Constructor.
 
 InternalError (const char *_file, std::int64_t _line, const std::string _msg)
 Default constructor.
 
virtual ~InternalError ()
 Destructor.
 
- Public Member Functions inherited from sdf::SDF_VERSION_NAMESPACE::Exception
 Exception ()
 Constructor.
 
 Exception (const char *_file, std::int64_t _line, std::string _msg)
 Default constructor.
 
 Exception (const Exception &_e)=default
 Copy constructor.
 
 Exception (Exception &&_e) noexcept=default
 Move constructor.
 
virtual ~Exception ()=default
 Destructor.
 
std::string GetErrorFile () const
 Return the error function.
 
std::string GetErrorStr () const
 Return the error string.
 
Exceptionoperator= (const Exception &_exception)=default
 Assignment operator.
 
Exceptionoperator= (Exception &&_exception) noexcept=default
 Move assignment operator.
 
void Print () const
 Print the exception to std out.
 

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::SDF_VERSION_NAMESPACE::InternalError::InternalError ( )

Constructor.

◆ InternalError() [2/2]

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

Destructor.


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