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)
const char * what () const throw ()
void * who () const
 ~exception () throw ()


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

adevs::exception::exception ( const adevs::exception src  )  [inline]

Copy constructor.

adevs::exception::~exception (  )  throw () [inline]

Destructor.


Member Function Documentation

const char* adevs::exception::what (  )  const throw () [inline]

Get the error message.

void* adevs::exception::who (  )  const [inline]

Get a pointer to the model that created the error.


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

Generated on Mon Mar 16 07:32:24 2009 for adevs by  doxygen 1.5.5