NEDException Class Reference

Low-level routines throw an exception instead of calling NEDErrorStore->add(). More...

#include <nedexception.h>

List of all members.

Public Member Functions

 NEDException (const char *messagefmt,...)
 NEDException (NEDElement *context, const char *messagefmt,...)
virtual ~NEDException () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string errormsg

Detailed Description

Low-level routines throw an exception instead of calling NEDErrorStore->add().


Constructor & Destructor Documentation

NEDException::NEDException ( const char *  messagefmt,
  ... 
)

The error message can be generated in a printf-like manner.

NEDException::NEDException ( NEDElement context,
const char *  messagefmt,
  ... 
)

The error message can be generated in a printf-like manner.

virtual NEDException::~NEDException (  )  throw () [inline, virtual]

Empty desctructor with throw clause for gcc.


Member Function Documentation

virtual const char* NEDException::what (  )  const throw () [inline, virtual]

Returns the text of the error.

Redefined from std::exception.


Member Data Documentation

std::string NEDException::errormsg [protected]

The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:31 2014 for OMNeT++ NEDXML by  doxygen 1.6.3