Classes | |
| class | pgException |
| The base class for the exceptions of Pogolyn. More... | |
Namespaces | |
| namespace | pgBasicType |
| The basic types of Pogolyn. | |
Defines | |
| #define | pgDefineException(e) |
| Defines an exception class of Pogolyn. | |
| #define | pgTry try |
| Tries to catch an exception in the following block. | |
| #define | pgThrow(e) throw e(#e, __FILE__, __LINE__) |
| Throws an exception. | |
| #define | pgCatch(...) catch (__VA_ARGS__) |
| Catches the specified exception. | |
Variables | |
| const u32 | POGOLYN_VERSION = 80 |
| The version number of Pogolyn. | |
| #define pgCatch | ( | ... | ) | catch (__VA_ARGS__) |
Catches the specified exception.
| [in] | ... | The name of an exception class. |
| #define pgDefineException | ( | e | ) |
Value:
class e : public pgException \ { \ public: \ e(const char* exception, const char* file, u32 line) : pgException(exception, file, line) {} \ }
| [in] | e | The name of an exception class. |
| #define pgThrow | ( | e | ) | throw e(#e, __FILE__, __LINE__) |
Throws an exception.
| [in] | e | The name of an exception class. |
1.5.8