ibrcommon::Exception Class Reference

#include <Exceptions.h>

Inheritance diagram for ibrcommon::Exception:

dtn::api::ConnectionException dtn::core::BundleStorage::StorageSizeExeededException dtn::core::EventException dtn::core::NoReceiverFoundException dtn::daemon::Configuration::ParameterNotFoundException dtn::daemon::Configuration::ParameterNotSetException dtn::data::Bundle::NoSuchBlockFoundException dtn::InvalidDataException dtn::MissingObjectException dtn::net::ConnectionManager::ShutdownException dtn::net::ConnectionNotAvailableException dtn::net::NeighborNotAvailableException dtn::routing::BaseRouter::RoutingException dtn::routing::NeighborDatabase::BloomfilterNotAvailableException ibrcommon::ConnectionClosedException ibrcommon::IOException ibrcommon::NotImplementedException ibrcommon::SocketException ibrcommon::tcpclient::SocketException ibrcommon::udpsocket::SocketException

List of all members.

Public Member Functions

 Exception () throw ()
 Exception (const exception &) throw ()
virtual ~Exception () throw ()
virtual const char * what () const throw ()
 Exception (string what) throw ()


Detailed Description

Base class for all exceptions in the IBR common library.

Definition at line 21 of file Exceptions.h.


Constructor & Destructor Documentation

ibrcommon::Exception::Exception (  )  throw () [inline]

Definition at line 24 of file Exceptions.h.

ibrcommon::Exception::Exception ( const exception &   )  throw () [inline]

Definition at line 27 of file Exceptions.h.

virtual ibrcommon::Exception::~Exception (  )  throw () [inline, virtual]

Definition at line 30 of file Exceptions.h.

ibrcommon::Exception::Exception ( string  what  )  throw () [inline]

constructor with attached string value as reason.

Parameters:
what The detailed reason for this exception.

Definition at line 46 of file Exceptions.h.

References what().


Member Function Documentation

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

Get the explaining reason as string value.

Returns:
The reason as string value.

Definition at line 37 of file Exceptions.h.

Referenced by dtn::net::UDPConvergenceLayer::componentRun(), dtn::net::HTTPConvergenceLayer::componentRun(), dtn::net::UDPConvergenceLayer::componentUp(), createConvergenceLayers(), Exception(), main(), and dtn::net::operator<<().


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

Generated on Fri Jul 30 09:15:36 2010 for IBR-DTNSuite by  doxygen 1.5.6