cStackCleanupException Class Reference
[Internal classes]

#include <cexception.h>

Inheritance diagram for cStackCleanupException:

cException

List of all members.


Detailed Description

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.

Public Member Functions

 cStackCleanupException ()
 cStackCleanupException (const cStackCleanupException &e)
virtual cStackCleanupExceptiondup () const
virtual bool isError () const


Constructor & Destructor Documentation

cStackCleanupException::cStackCleanupException (  )  [inline]

Default ctor.

cStackCleanupException::cStackCleanupException ( const cStackCleanupException e  )  [inline]

We unfortunately need to copy exception objects when handing them back from an activity().


Member Function Documentation

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.

virtual bool cStackCleanupException::isError (  )  const [inline, virtual]

This exception type does not represent an error condition.

Reimplemented from cException.


The documentation for this class was generated from the following file:

Generated on Wed Apr 3 14:40:28 2013 for OMNeT++ Simulation Library by  doxygen 1.5.5