adevs
Public Member Functions | List of all members
adevs::method_not_supported_exception Class Reference

#include <adevs_exception.h>

Inheritance diagram for adevs::method_not_supported_exception:
adevs::exception

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.
 

Detailed Description

The unsupported method exception is raised if an optional virtual method is not supported by a model.

Constructor & Destructor Documentation

adevs::method_not_supported_exception::method_not_supported_exception ( const char *  method,
void *  model 
)
inline

Constructor should be supplied with the model throwing the exception and the name of the method that is not supported.


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