dtn::exceptions::Exception Class Reference

#include <Exceptions.h>

Inheritance diagram for dtn::exceptions::Exception:

dtn::exceptions::BundleExpiredException dtn::exceptions::EventException dtn::exceptions::FieldDoesNotExist dtn::exceptions::FragmentationException dtn::exceptions::IncompleteDataException dtn::exceptions::InvalidBundleData dtn::exceptions::InvalidDataException dtn::exceptions::InvalidFieldException dtn::exceptions::InvalidOptionException dtn::exceptions::MaxSizeTooSmallException dtn::exceptions::MissingObjectException dtn::exceptions::NoBundleFoundException dtn::exceptions::NoNeighbourFoundException dtn::exceptions::NoScheduleFoundException dtn::exceptions::NoSpaceLeftException dtn::exceptions::NoTimerFoundException dtn::exceptions::SDNVDecodeFailed

List of all members.

Public Member Functions

 Exception ()
 Exception (string what)
string what ()

Private Attributes

string m_what


Detailed Description

Base class for all exceptions in the bundle protocol

Constructor & Destructor Documentation

dtn::exceptions::Exception::Exception (  )  [inline]

default constructor

dtn::exceptions::Exception::Exception ( string  what  )  [inline]

constructor with attached string value as reason.

Parameters:
what The detailed reason for this exception.

References m_what.


Member Function Documentation

string dtn::exceptions::Exception::what (  )  [inline]

Get the explaining reason as string value.

Returns:
The reason as string value.

References m_what.

Referenced by dtn::core::UDPConvergenceLayer::receiveBundle().


Member Data Documentation

Referenced by Exception(), and what().


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

Generated on Wed Mar 25 12:41:45 2009 for IBR-DTN by  doxygen 1.5.6