IBR-DTNSuite  0.8
ibrcommon::Exception Class Reference

#include <Exceptions.h>

Inheritance diagram for ibrcommon::Exception:
Collaboration diagram for ibrcommon::Exception:

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 37 of file Exceptions.h.


Constructor & Destructor Documentation

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

Definition at line 40 of file Exceptions.h.

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

Definition at line 43 of file Exceptions.h.

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

Definition at line 46 of file Exceptions.h.

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

constructor with attached string value as reason.

Parameters:
whatThe detailed reason for this exception.

Definition at line 62 of file Exceptions.h.


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 53 of file Exceptions.h.

Referenced by ibrcommon::TLSStream::activate(), dtn::security::SecurityManager::auth(), dtn::daemon::CapsuleWorker::callbackBundleReceived(), dtn::routing::BaseRouter::componentDown(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::net::IPNDAgent::componentUp(), dtn::daemon::StatisticLogger::componentUp(), dtn::net::UDPConvergenceLayer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), dtn::routing::BaseRouter::componentUp(), dtn::api::Client::connect(), createConvergenceLayers(), dtn::security::SecurityManager::decrypt(), dtn::data::PayloadBlock::deserialize(), dtn::data::ExtensionBlock::deserialize(), dtn::security::SecurityManager::encrypt(), dtn::api::BinaryStreamClient::eventConnectionDown(), dtn::net::TCPConnection::eventConnectionDown(), dtn::api::Client::eventConnectionDown(), dtn::storage::SimpleBundleStorage::eventDataStorageRemoveFailed(), dtn::storage::SimpleBundleStorage::eventDataStorageStoreFailed(), ibrcommon::vsocket::eventNotify(), dtn::storage::MemoryBundleStorage::get(), dtn::storage::SimpleBundleStorage::get(), dtn::storage::SQLiteDatabase::get(), dtn::api::Client::getBundle(), dtn::core::AbstractWorker::initialize(), dtn::net::TCPConnection::initialize(), main(), dtn::net::operator<<(), dtn::core::BundleCore::processBlocks(), dtn::api::ApiServer::processIncomingBundle(), ibrcommon::QueueUnblockedException::QueueUnblockedException(), dtn::routing::FloodRoutingExtension::run(), dtn::api::BinaryStreamClient::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::net::DatagramConnection::run(), dtn::net::LOWPANConnection::run(), dtn::net::DownloadThread::run(), dtn::net::TCPConnection::run(), dtn::data::PayloadBlock::serialize(), dtn::data::ExtensionBlock::serialize(), dtn::net::DatagramConnection::shutdown(), dtn::net::TCPConnection::shutdown(), dtn::security::SecurityManager::sign(), dtn::daemon::IndependentComponent::startup(), dtn::security::SecurityManager::verifyBAB(), and dtn::api::Client::~Client().


Member Data Documentation


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