kviewshell
GException.h File Reference
#include "DjVuGlobal.h"#include <setjmp.h>
Include dependency graph for GException.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | GException |
| Exception class. More... | |
| class | GExceptionHandler |
Defines | |
| #define | G_CATCH(n) G_CATCH_ALL const GException& n = __exh.current; |
| #define | G_CATCH_ALL } else { GExceptionHandler::head = __exh.next; |
| #define | G_EMTHROW(ex) GExceptionHandler::emthrow(ex) |
| #define | G_ENDCATCH } } while(0) |
| #define | G_RETHROW GExceptionHandler::emthrow(__exh.current) |
| #define | G_THROW(msg) G_THROW_TYPE(msg,GException::GINTERNAL) |
| #define | G_THROW_APPLICATION(msg) G_THROW_TYPE(msg,GException::GAPPLICATION) |
| #define | G_THROW_EXTERNAL(msg) G_THROW_TYPE(msg,GException::GEXTERNAL) |
| #define | G_THROW_INTERNAL(msg) G_THROW_TYPE(msg,GException::GINTERNAL) |
| #define | G_THROW_OTHER(msg) G_THROW_TYPE(msg,GException::GOTHER) |
| #define | G_THROW_TYPE(m, xtype) |
| #define | G_TRY |
| #define | no_return |
Functions | |
| void | G_EXTHROW (const char msg[], const char *file=0, int line=0, const char *func=0, const GException::source_type source=GException::GINTERNAL) |
| void | G_EXTHROW (const GException &ex, const char *msg=0, const char *file=0, int line=0, const char *func=0, const GException::source_type source=GException::GINTERNAL) |
Define Documentation
| #define G_CATCH | ( | n | ) | G_CATCH_ALL const GException& n = __exh.current; |
Definition at line 301 of file GException.h.
| #define G_CATCH_ALL } else { GExceptionHandler::head = __exh.next; |
Definition at line 300 of file GException.h.
| #define G_EMTHROW | ( | ex | ) | GExceptionHandler::emthrow(ex) |
Definition at line 314 of file GException.h.
| #define G_ENDCATCH } } while(0) |
Definition at line 303 of file GException.h.
| #define G_RETHROW GExceptionHandler::emthrow(__exh.current) |
Definition at line 305 of file GException.h.
| #define G_THROW | ( | msg | ) | G_THROW_TYPE(msg,GException::GINTERNAL) |
Definition at line 342 of file GException.h.
| #define G_THROW_APPLICATION | ( | msg | ) | G_THROW_TYPE(msg,GException::GAPPLICATION) |
Definition at line 345 of file GException.h.
| #define G_THROW_EXTERNAL | ( | msg | ) | G_THROW_TYPE(msg,GException::GEXTERNAL) |
Definition at line 344 of file GException.h.
| #define G_THROW_INTERNAL | ( | msg | ) | G_THROW_TYPE(msg,GException::GINTERNAL) |
Definition at line 343 of file GException.h.
| #define G_THROW_OTHER | ( | msg | ) | G_THROW_TYPE(msg,GException::GOTHER) |
Definition at line 346 of file GException.h.
| #define G_THROW_TYPE | ( | m, | |||
| xtype | ) |
Value:
GExceptionHandler::emthrow \ (GException(m, __FILE__, __LINE__,0, xtype))
Definition at line 312 of file GException.h.
| #define G_TRY |
Value:
do { GExceptionHandler __exh; \ if (!setjmp(__exh.jump)) \ { GExceptionHandler::head = &__exh;
Definition at line 296 of file GException.h.
| #define no_return |
Definition at line 70 of file GException.h.
Function Documentation
| void G_EXTHROW | ( | const char | msg[], | |
| const char * | file = 0, |
|||
| int | line = 0, |
|||
| const char * | func = 0, |
|||
| const GException::source_type | source = GException::GINTERNAL | |||
| ) | [inline] |
Definition at line 336 of file GException.h.
| void G_EXTHROW | ( | const GException & | ex, | |
| const char * | msg = 0, |
|||
| const char * | file = 0, |
|||
| int | line = 0, |
|||
| const char * | func = 0, |
|||
| const GException::source_type | source = GException::GINTERNAL | |||
| ) | [inline] |
Definition at line 322 of file GException.h.
KDE 3.5 API Reference