adevs::exception Class Reference

#include <adevs_exception.h>

List of all members.

Public Member Functions

 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 adevs::exception class is derived from the standard template library exception class.


Constructor & Destructor Documentation

adevs::exception::exception ( const char *  msg,
void *  model = NULL 
) [inline]

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*.


The documentation for this class was generated from the following file:
Generated on Mon Sep 20 14:35:39 2010 for adevs by  doxygen 1.4.7