Classe d'exceptions plus verbeuse que celles de std. Plus de détails...
Graphe d'héritage de Castor::Exception:
Graphe de collaboration de Castor::Exception:Fonctions membres publiques | |
| Exception (String const &p_description, char const *p_file, char const *p_function, unsigned int p_line) | |
| Constructeur spécifié. | |
| virtual | ~Exception () throw () |
| Destructeur. | |
| virtual char const * | what () const throw () |
| Récupère la description de l'exception. | |
| String const & | GetFilename () const throw () |
| Récupère le nom du fichier. | |
| String const & | GetFunction () const throw () |
| Récupère le nom de la fonction. | |
| unsigned int | GetLine () const throw () |
| Récupère le numéro de ligne. | |
| String const & | GetDescription () const throw () |
| Récupère la description de l'exception. | |
| String | GetFullDescription () const throw () |
| Récupère le texte complet de l'exception (description, ligne, fichier et fonction). | |
Attributs protégés | |
| unsigned int | m_line |
| Le numéro de ligne. | |
| String | m_description |
| La description de l'exception. | |
| String | m_filename |
| Le nom du fichier. | |
| String | m_functionName |
| Le nom de la fonction. | |
Classe d'exceptions plus verbeuse que celles de std.
| Castor::Exception::Exception | ( | String const & | p_description, | |
| char const * | p_file, | |||
| char const * | p_function, | |||
| unsigned int | p_line | |||
| ) | [inline] |
Constructeur spécifié.
| [in] | p_description | La description de l'exception |
| [in] | p_file | Le nom du fichier |
| [in] | p_function | Le nom de la fonction |
| [in] | p_line | Le numéro de ligne |
| virtual Castor::Exception::~Exception | ( | ) | throw () [inline, virtual] |
Destructeur.
| String const& Castor::Exception::GetDescription | ( | ) | const throw () [inline] |
Récupère la description de l'exception.
| String const& Castor::Exception::GetFilename | ( | ) | const throw () [inline] |
Récupère le nom du fichier.
| String Castor::Exception::GetFullDescription | ( | ) | const throw () [inline] |
Récupère le texte complet de l'exception (description, ligne, fichier et fonction).
| String const& Castor::Exception::GetFunction | ( | ) | const throw () [inline] |
Récupère le nom de la fonction.
| unsigned int Castor::Exception::GetLine | ( | ) | const throw () [inline] |
Récupère le numéro de ligne.
| virtual char const* Castor::Exception::what | ( | ) | const throw () [inline, virtual] |
Récupère la description de l'exception.
Voici le graphe d'appel pour cette fonction :String Castor::Exception::m_description [protected] |
La description de l'exception.
String Castor::Exception::m_filename [protected] |
Le nom du fichier.
String Castor::Exception::m_functionName [protected] |
Le nom de la fonction.
unsigned int Castor::Exception::m_line [protected] |
Le numéro de ligne.
1.7.1