Used internally when deleting an activity() simple module. More...
#include <cexception.h>
Public Member Functions | |
cStackCleanupException () | |
cStackCleanupException (const cStackCleanupException &e) | |
virtual cStackCleanupException * | dup () const |
virtual bool | isError () const |
Used internally when deleting an activity() simple module.
Then, the coroutine running activity() is "asked" to throw a cStackCleanupException to achieve stack unwinding, a side effect of exceptions, in order to properly clean up activity()'s local variables.
virtual cStackCleanupException* cStackCleanupException::dup | ( | ) | const [inline, virtual] |
Virtual copy constructor.
We unfortunately need to copy exception objects when handing them back from an activity().
Reimplemented from cException.