Represents a frame inside an exception context. More...
Data Fields | |
jmp_buf | address |
The continuation address of the current block. | |
ExceptionFrame * | previous |
The previous (upper) frame. | |
e4c_Stage | stage |
The current stage of this frame. | |
unsigned char | thrown |
A flag that is set when an exception was thrown. | |
unsigned char | uncaught |
A flag that is set when the exception was caught. | |
Exception | exception |
The current exception being thrown. | |
const char * | srcFile |
The path of the source code file from which the exception was thrown. | |
int | srcLine |
The number of line from which the exception was thrown. | |
int | errorNumber |
The value of errno at the time the exception was thrown. |
Represents a frame inside an exception context.
A new frame is created every time a group of try
/ catch
/finally
blocks starts, and destroyed when the group ends.
Frames are stacked and dispatched in a First-In-Last-Out way. When an exception is thrown within a frame, it climbs towards the previous frames until it gets caught, otherwise the program ends.
jmp_buf ExceptionFrame::address |
The continuation address of the current block.
The value of errno at the time the exception was thrown.
The current exception being thrown.
The previous (upper) frame.
const char* ExceptionFrame::srcFile |
The path of the source code file from which the exception was thrown.
The number of line from which the exception was thrown.
The current stage of this frame.
unsigned char ExceptionFrame::thrown |
A flag that is set when an exception was thrown.
unsigned char ExceptionFrame::uncaught |
A flag that is set when the exception was caught.