OMNeT++ NEDXML  6.0.3
NedException Class Reference

#include <exception.h>

Description

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

Inheritance diagram for NedException:

Public Member Functions

 NedException (const char *messagefmt,...)
 
 NedException (ASTNode *context, const char *messagefmt,...)
 
virtual ~NedException () throw ()
 
virtual const char * what () const override throw ()
 

Protected Attributes

std::string msg
 

Constructor & Destructor Documentation

◆ NedException() [1/2]

NedException ( const char *  messagefmt,
  ... 
)

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

◆ NedException() [2/2]

NedException ( ASTNode context,
const char *  messagefmt,
  ... 
)

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

◆ ~NedException()

virtual ~NedException ( )
throw (
)
inlinevirtual

Empty destructor with throw clause for gcc.

Member Function Documentation

◆ what()

virtual const char* what ( ) const
throw (
)
inlineoverridevirtual

Returns the text of the error. Redefined from std::exception.

Member Data Documentation

◆ msg

std::string msg
protected

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