|
adevs
|
#include <adevs_exception.h>
Public Member Functions | |
| method_not_supported_exception (const char *method, void *model) | |
Public Member Functions inherited from adevs::exception | |
| exception (const char *msg, void *model=NULL) | |
| exception (const adevs::exception &src) | |
| Copy constructor. | |
| const char * | what () const throw () |
| Get the error message. | |
| void * | who () const |
| Get a pointer to the model that created the error. | |
| ~exception () throw () | |
| Destructor. | |
The unsupported method exception is raised if an optional virtual method is not supported by a model.
|
inline |
Constructor should be supplied with the model throwing the exception and the name of the method that is not supported.
1.8.6