#include <adevs_exception.h>
Public Member Functions | |
exception (const char *msg, void *model=NULL) | |
exception (const adevs::exception &src) | |
const char * | what () const throw () |
void * | who () const |
~exception () throw () |
|
Create an exception with an error message and, if appropriate, a pointer to the model that created the error. To avoid templated exceptions, the model pointer is just a void*. |
|
Copy constructor. |
|
Destructor. |
|
Get the error message. |
|
Get a pointer to the model that created the error. |