The exception class of the anfo library.
More...
#include <Exception.h>
|
| unsigned int | id |
| |
| std::string | desc |
| |
The exception class of the anfo library.
If something goes wrong, all classes can throw an anfo::Exception.
You can use getId() and getDescription() to get more specific information about the exception.
Definition at line 22 of file Exception.h.
| Enumerator |
|---|
| ID_NOT_ANFO |
|
| ID_VALUE_ERROR |
|
| ID_INVALID_TYPE |
|
| ID_ANIME_MARK |
|
| ID_SEASON_MARK |
|
Definition at line 28 of file Exception.h.
| anfo::Exception::Exception |
( |
unsigned int |
_id, |
|
|
std::string |
_desc |
|
) |
| |
| std::string anfo::Exception::getDescription |
( |
| ) |
|
| unsigned int anfo::Exception::getId |
( |
| ) |
|
| std::string anfo::Exception::desc |
|
private |
| unsigned int anfo::Exception::id |
|
private |
The documentation for this class was generated from the following file: