Public Member Functions | Protected Attributes

ibrcommon::Exception Class Reference

#include <Exceptions.h>

Inherited by dtn::api::ConnectionAbortedException, dtn::api::ConnectionException, dtn::api::ConnectionTimeoutException, dtn::core::BundleStorage::StorageSizeExeededException, dtn::core::EventException, dtn::core::NoReceiverFoundException, dtn::core::SQLiteBundleStorage::NoBundleFoundException, dtn::core::SQLiteBundleStorage::SQLiteQuerryException, dtn::daemon::Configuration::ParameterNotFoundException [private], dtn::daemon::Configuration::ParameterNotSetException [private], 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, dtn::routing::NeighborDatabase::NoMoreTransfersAvailable, ibrcommon::Conditional::ConditionalAbortException, ibrcommon::IOException, ibrcommon::lowpansocket::SocketException, ibrcommon::MutexException, ibrcommon::NotImplementedException, ibrcommon::QueueUnblockedException, ibrcommon::SocketException, ibrcommon::tcpclient::SocketException, ibrcommon::ThreadException, and ibrcommon::udpsocket::SocketException.

Collaboration diagram for ibrcommon::Exception:
Collaboration graph
[legend]

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 ()

Protected Attributes

string _what

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.


Member Function Documentation

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

Member Data Documentation

string ibrcommon::Exception::_what [protected]

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