#include <cexception.h>
Inheritance diagram for cTerminationException:
For example, cSimpleModule::endSimulation() throws this exception. Statistics object may also throw this exception to signal that accuracy of simulation results has reached the desired level.
Public Member Functions | |
cTerminationException (int errcode,...) | |
cTerminationException (const char *msg,...) |
|
Error is identified by an error code, and the message comes from a string table. The error string may expect printf-like arguments (s, d) which also have to be passed to the constructor. |
|
To be called like printf(). The error code is set to eCUSTOM. |