Class for generating exceptions. More...
#include <common/common.hh>

Public Member Functions | |
| 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... | |
| Exception & | operator= (const Exception &_exception) |
| Assignment operator. More... | |
| Exception & | operator= (Exception &&_exception) |
| Move assignment operator. More... | |
| void | Print () const |
| Print the exception to std out. More... | |
Class for generating exceptions.
| sdf::v9::Exception::Exception | ( | ) |
Constructor.
| sdf::v9::Exception::Exception | ( | const char * | _file, |
| std::int64_t | _line, | ||
| std::string | _msg | ||
| ) |
Default constructor.
| [in] | _file | File name |
| [in] | _line | Line number where the error occurred |
| [in] | _msg | Error message |
| sdf::v9::Exception::Exception | ( | const Exception & | _e | ) |
Copy constructor.
| [in] | _e | Exception to copy. |
|
noexcept |
Move constructor.
| [in] | _e | Exception to move. |
|
virtual |
Destructor.
| std::string sdf::v9::Exception::GetErrorFile | ( | ) | const |
Return the error function.
| std::string sdf::v9::Exception::GetErrorStr | ( | ) | const |
Return the error string.
Assignment operator.
| [in] | _exception | The exception to set values from. |
| void sdf::v9::Exception::Print | ( | ) | const |
Print the exception to std out.