EMANE  1.0.1
EMANE::Exception Class Reference

Exception base class that allows for type and description information. More...

#include <exception.h>

Inheritance diagram for EMANE::Exception:
EMANE::AntennaProfileException EMANE::AnyException EMANE::BoundaryMessageManagerException EMANE::BuildException EMANE::CommonMACHeaderException EMANE::ConfigurationException EMANE::ConfigureException EMANE::ControlMessageSerializerException EMANE::EventServiceException EMANE::Generators::EEL::FormatException EMANE::INETAddrException EMANE::NetworkAdapterException EMANE::OTAException EMANE::ParseException EMANE::PlatformException EMANE::RegistrarException EMANE::SerializationException EMANE::SocketException EMANE::SpectrumServiceException EMANE::StartException EMANE::StatisticTableException EMANE::TimerServiceException EMANE::Utils::FactoryException EMANE::Utils::ParameterConvert::ConversionException EMANE::ValidateException

Public Member Functions

 ~Exception () throw ()
 
const char * what () const throw ()
 
virtual const char * type () const throw ()
 

Protected Member Functions

 Exception (const std::string &sType, const std::string &sDescription={})
 

Detailed Description

Exception base class that allows for type and description information.

Definition at line 49 of file exception.h.

Constructor & Destructor Documentation

◆ ~Exception()

EMANE::Exception::~Exception ( )
throw (
)
inline

Destroys an instance

Definition at line 55 of file exception.h.

◆ Exception()

EMANE::Exception::Exception ( const std::string &  sType,
const std::string &  sDescription = {} 
)
inlineprotected

Definition at line 78 of file exception.h.

Member Function Documentation

◆ type()

virtual const char* EMANE::Exception::type ( ) const
throw (
)
inlinevirtual

Gets the exception type name

Returns
Null terminated type name

Definition at line 72 of file exception.h.

◆ what()

const char* EMANE::Exception::what ( ) const
throw (
)
inline

Gets the exception description

Returns
Null terminated description

Definition at line 62 of file exception.h.


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