#include <Exception.hpp>
Definition at line 12 of file Exception.hpp.
◆ Exception() [1/3]
lug::System::Exception::Exception |
( |
const char * |
typeName, |
|
|
const std::string & |
description, |
|
|
const char * |
file, |
|
|
const char * |
function, |
|
|
uint32_t |
line |
|
) |
| |
Exception constructor.
- Parameters
-
typeName | The exception type. |
description | The exception description. |
file | The file where exception was thrown. |
function | The function where exception was thrown. |
line | The line where exception was thrown. |
Definition at line 4 of file Exception.cpp.
◆ Exception() [2/3]
lug::System::Exception::Exception |
( |
Exception && |
other | ) |
|
|
default |
◆ Exception() [3/3]
lug::System::Exception::Exception |
( |
const Exception & |
other | ) |
|
|
default |
◆ ~Exception()
virtual lug::System::Exception::~Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ getTypeName()
const std::string & lug::System::Exception::getTypeName |
( |
| ) |
const |
TypeName getter.
- Returns
- The typeName of the current exception.
Definition at line 7 of file Exception.cpp.
◆ getDescription()
const std::string & lug::System::Exception::getDescription |
( |
| ) |
const |
Description getter.
- Returns
- The description of the current exception.
Definition at line 11 of file Exception.cpp.
◆ getFile()
const std::string & lug::System::Exception::getFile |
( |
| ) |
const |
File getter.
- Returns
- The file of the current exception.
Definition at line 15 of file Exception.cpp.
◆ getFunction()
const std::string & lug::System::Exception::getFunction |
( |
| ) |
const |
Function getter.
- Returns
- The function of the current exception.
Definition at line 19 of file Exception.cpp.
◆ getLine()
uint32_t lug::System::Exception::getLine |
( |
| ) |
const |
Line getter.
- Returns
- The line of the current exception.
Definition at line 23 of file Exception.cpp.
◆ what()
const char * lug::System::Exception::what |
( |
| ) |
const |
|
overridenoexcept |
Return the full formated exception.
- Returns
- The full formated exceptionn.
Definition at line 27 of file Exception.cpp.
◆ _typeName
std::string lug::System::Exception::_typeName |
|
private |
◆ _description
std::string lug::System::Exception::_description |
|
private |
◆ _file
std::string lug::System::Exception::_file |
|
private |
◆ _function
std::string lug::System::Exception::_function |
|
private |
◆ _line
uint32_t lug::System::Exception::_line |
|
private |
◆ _fullDesc
std::string lug::System::Exception::_fullDesc |
|
mutableprivate |
The documentation for this class was generated from the following files: