#include <Exception.hpp>
|
| Exception (MbString const &description, char const *file, char const *function, uint32_t line) |
| Constructeur spécifié
|
|
| Exception (WString const &description, char const *file, char const *function, uint32_t line) |
| Constructeur spécifié
|
|
char const * | what () const noexcept override |
| Récupère la description de l'exception.
|
|
MbString const & | getFileName () const noexcept |
| Récupère le nom du fichier.
|
|
MbString const & | getFunction () const noexcept |
| Récupère le nom de la fonction.
|
|
uint32_t | getLine () const noexcept |
| Récupère le numéro de ligne.
|
|
MbString const & | getDescription () const noexcept |
| Récupère la description de l'exception.
|
|
MbString | getFullDescription () const noexcept |
| Récupère le texte complet de l'exception (description, ligne, fichier et fonction)
|
|
◆ Exception() [1/2]
castor::Exception::Exception |
( |
MbString const & | description, |
|
|
char const * | file, |
|
|
char const * | function, |
|
|
uint32_t | line ) |
|
inline |
◆ Exception() [2/2]
castor::Exception::Exception |
( |
WString const & | description, |
|
|
char const * | file, |
|
|
char const * | function, |
|
|
uint32_t | line ) |
|
inline |
Constructeur spécifié
- Paramètres
-
[in] | description | La description de l'exception |
[in] | file | Le nom du fichier |
[in] | function | Le nom de la fonction |
[in] | line | Le numéro de ligne |
◆ getDescription()
MbString const & castor::Exception::getDescription |
( |
| ) |
const |
|
inlinenoexcept |
Récupère la description de l'exception.
- Renvoie
- La description de l'exception
Références m_description.
◆ getFileName()
MbString const & castor::Exception::getFileName |
( |
| ) |
const |
|
inlinenoexcept |
Récupère le nom du fichier.
- Renvoie
- Le nom du fichier
Références m_filename.
◆ getFullDescription()
MbString castor::Exception::getFullDescription |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFunction()
MbString const & castor::Exception::getFunction |
( |
| ) |
const |
|
inlinenoexcept |
Récupère le nom de la fonction.
- Renvoie
- Le nom de la fonction
Références m_functionName.
◆ getLine()
uint32_t castor::Exception::getLine |
( |
| ) |
const |
|
inlinenoexcept |
Récupère le numéro de ligne.
- Renvoie
- Le numéro de ligne
Références m_line.
◆ what()
char const * castor::Exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Récupère la description de l'exception.
- Renvoie
- La description de l'exception
Références m_description.
◆ m_callStack
◆ m_description
MbString castor::Exception::m_description |
|
protected |
◆ m_filename
◆ m_functionName
MbString castor::Exception::m_functionName |
|
protected |
◆ m_line
uint32_t castor::Exception::m_line |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :