Go to the source code of this file.
|
class | Dtk_Exception |
|
class | Dtk_LinuxSignalHandler |
| This class lets you handle POSIX signals. And these systems, memory corruption doesn't throw an exception but a signal. The Dtk_LinuxSignalHandler class bypasses the signal classic process by attaching an special handler to: SIGINT => Interrupt SIGTERM => Termination SIGSEGV => Segmentation Fault SIGFPE =>Floating Point Exception Its embedded handler just throws the signal number as an exception. More...
|
|
◆ Dtk_Catch
#define Dtk_Catch |
( |
|
inExceptionType, |
|
|
|
inAction |
|
) |
| catch( inExceptionType ){ inAction } |
◆ Dtk_ErrorAllocationType
#define Dtk_ErrorAllocationType "Can't Allocate Memory" |
◆ Dtk_ExceptionType
#define Dtk_ExceptionType "General Exception" |
◆ Dtk_NullPointerType
#define Dtk_NullPointerType "NULL Pointer" |
◆ Dtk_OutOfRangeType
#define Dtk_OutOfRangeType "Out Of Range" |
◆ Dtk_ReThrow
#define Dtk_ReThrow |
( |
| ) |
throw |
◆ Dtk_Throw
#define Dtk_Throw |
( |
|
inExceptionType | ) |
throw(Dtk_Exception(__FILE__, __LINE__, inExceptionType)) |
◆ Dtk_Try
◆ DtkTryCatch