IBR-DTNSuite  0.12
ibrcommon::Exception Class Reference

#include <Exceptions.h>

Inherits exception.

Inherited by dtn::api::BundleNotFoundException, dtn::api::ConnectionException, dtn::api::NativeSessionException, dtn::api::PlainDeserializer::PlainDeserializerException, dtn::api::Registration::RegistrationException, dtn::core::FragmentationAbortedException, dtn::core::P2PDialupException, dtn::daemon::Configuration::ParameterNotFoundException [private], dtn::daemon::Configuration::ParameterNotSetException [private], dtn::daemon::NativeDaemonException, dtn::data::AdministrativeBlock::WrongRecordException, dtn::data::Bundle::NoSuchBlockFoundException, dtn::InvalidDataException, dtn::MissingObjectException, dtn::net::ConnectionManager::ShutdownException, dtn::net::ConnectionNotAvailableException, dtn::net::DatagramConvergenceLayer::ConnectionNotAvailableException, dtn::net::DatagramException, dtn::net::DiscoveryBeaconHandler::NoServiceHereException, dtn::net::EMailImapService::BidNotFound, dtn::net::EMailImapService::IMAPException, dtn::net::EMailImapService::InvalidCertificate, dtn::net::EMailImapService::InvalidConversion, dtn::net::EMailImapService::StringNotFound, dtn::net::EMailSmtpService::InvalidCertificate, dtn::net::NeighborNotAvailableException, dtn::net::NoAddressFoundException, dtn::routing::BaseRouter::RoutingException, dtn::routing::DeliveryPredictabilityMap::ValueNotFoundException, dtn::routing::NeighborDatabase::AlreadyInTransitException, dtn::routing::NeighborDatabase::BloomfilterNotAvailableException, dtn::routing::NeighborDatabase::DatasetNotAvailableException, dtn::routing::NeighborDatabase::NeighborNotAvailableException, dtn::routing::NeighborDatabase::NoMoreTransfersAvailable, dtn::routing::NeighborDatabase::NoRouteKnownException, dtn::security::ElementMissingException, dtn::security::SecurityCertificateException, dtn::security::SecurityException, dtn::security::SecurityKeyManager::KeyNotFoundException, dtn::storage::BundleSelectorException, dtn::storage::BundleStorage::StorageSizeExeededException, dtn::storage::DataStorage::DataNotAvailableException, dtn::storage::SQLiteDatabase::SQLiteQueryException, ibrcommon::Conditional::ConditionalAbortException, ibrcommon::IOException, ibrcommon::iostreamBIO::BIOException, ibrcommon::MutexException, ibrcommon::NetLinkManager::parse_exception, ibrcommon::NotImplementedException, ibrcommon::QueueUnblockedException, ibrcommon::socket_exception, ibrcommon::stream_exception, ibrcommon::ThreadException, ibrcommon::Timer::StopTimerException, ibrcommon::TLSException, ibrcommon::vaddress::address_exception, ibrcommon::vinterface::interface_not_set, and ibrcommon::vsocket::SocketState::state_exception.

Collaboration diagram for ibrcommon::Exception:
Collaboration graph

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

Constructor & Destructor Documentation

ibrcommon::Exception::Exception ( )
throw (
)
inline

Definition at line 45 of file Exceptions.h.

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

Definition at line 48 of file Exceptions.h.

virtual ibrcommon::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 51 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 67 of file Exceptions.h.

Member Function Documentation

virtual const char* ibrcommon::Exception::what ( ) const
throw (
)
inlinevirtual

Get the explaining reason as string value.

Returns
The reason as string value.

Reimplemented in ibrcommon::socket_raw_error.

Definition at line 58 of file Exceptions.h.

Referenced by ibrcommon::TLSStream::activate(), dtn::api::ApiServer::ApiServer(), dtn::security::SecurityManager::auth(), dtn::net::UDPDatagramService::bind(), dtn::daemon::CapsuleWorker::callbackBundleReceived(), dtn::storage::SQLiteBundleStorage::clear(), dtn::routing::NeighborRoutingExtension::componentDown(), dtn::routing::FloodRoutingExtension::componentDown(), dtn::routing::StaticRoutingExtension::componentDown(), dtn::routing::EpidemicRoutingExtension::componentDown(), dtn::routing::ProphetRoutingExtension::componentDown(), dtn::net::TCPConvergenceLayer::componentDown(), dtn::storage::SimpleBundleStorage::componentDown(), dtn::net::IPNDAgent::componentRun(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::net::DatagramConvergenceLayer::componentRun(), dtn::routing::NeighborRoutingExtension::componentUp(), dtn::routing::FloodRoutingExtension::componentUp(), dtn::routing::StaticRoutingExtension::componentUp(), dtn::routing::EpidemicRoutingExtension::componentUp(), dtn::core::WallClock::componentUp(), dtn::net::FileMonitor::componentUp(), dtn::routing::ProphetRoutingExtension::componentUp(), dtn::net::IPNDAgent::componentUp(), dtn::net::UDPConvergenceLayer::componentUp(), dtn::api::ApiServer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), dtn::net::TCPConvergenceLayer::componentUp(), dtn::storage::SimpleBundleStorage::componentUp(), dtn::storage::SQLiteBundleStorage::componentUp(), dtn::api::Client::connect(), dtn::storage::SQLiteBundleStorage::count(), dtn::security::SecurityManager::decrypt(), dtn::data::PayloadBlock::deserialize(), dtn::data::ExtensionBlock::deserialize(), dtn::storage::SQLiteBundleStorage::empty(), ibrcommon::LogWriter::enableAsync(), dtn::security::SecurityManager::encrypt(), dtn::api::BinaryStreamClient::eventConnectionDown(), dtn::net::TCPConnection::eventConnectionDown(), dtn::api::Client::eventConnectionDown(), dtn::net::TCPConnection::eventConnectionUp(), dtn::storage::SimpleBundleStorage::eventDataStorageRemoveFailed(), dtn::storage::SimpleBundleStorage::eventDataStorageStoreFailed(), dtn::net::TCPConvergenceLayer::eventNotify(), dtn::net::TCPConnection::eventTimeout(), dtn::storage::SQLiteBundleSet::expire(), dtn::storage::SQLiteDatabase::expire(), dtn::storage::MemoryBundleStorage::get(), dtn::storage::SimpleBundleStorage::get(), dtn::storage::SQLiteBundleStorage::get(), dtn::api::NativeSession::get(), dtn::storage::SQLiteDatabase::get(), dtn::api::Client::getBundle(), dtn::storage::SQLiteBundleStorage::getDistinctDestinations(), dtn::api::NativeSession::getInfo(), dtn::daemon::NativeDaemon::getInfo(), dtn::net::UDPDatagramService::getServiceDescription(), dtn::net::TCPConnection::initialize(), dtn::core::AbstractWorker::initialize(), dtn::net::TCPConnection::initiateExtendedHandshake(), dtn::api::NativeSession::load(), main(), dtn::net::IPNDAgent::onAdvertiseBeacon(), dtn::net::UDPConvergenceLayer::onUpdateBeacon(), dtn::net::TCPConvergenceLayer::onUpdateBeacon(), ibrcommon::socketstream::overflow(), dtn::core::BundleCore::processBlocks(), dtn::routing::NodeHandshakeExtension::processHandshake(), dtn::api::Registration::processIncomingBundle(), ibrcommon::QueueUnblockedException::QueueUnblockedException(), dtn::routing::BaseRouter::raiseEvent(), dtn::net::DatagramConvergenceLayer::receive(), dtn::api::NativeSession::receive(), dtn::storage::SQLiteBundleStorage::releaseCustody(), dtn::storage::SQLiteBundleStorage::remove(), dtn::api::BinaryStreamClient::run(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), dtn::net::DatagramConnection::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::net::LOWPANConnection::run(), dtn::api::ClientHandler::run(), dtn::net::DownloadThread::run(), dtn::net::TCPConnection::run(), dtn::data::PayloadBlock::serialize(), dtn::data::ExtensionBlock::serialize(), dtn::net::TCPConnection::shutdown(), dtn::security::SecurityManager::sign(), ibrcommon::socket_raw_error::socket_raw_error(), dtn::core::FragmentManager::split(), dtn::storage::SQLiteBundleStorage::SQLiteBundleStorage(), dtn::daemon::IndependentComponent::startup(), dtn::storage::SQLiteBundleStorage::store(), ibrcommon::socketstream::underflow(), dtn::core::BundleCore::validate(), io::TarUtils::write(), dtn::api::Client::~Client(), and dtn::storage::SQLiteBundleStorage::~SQLiteBundleStorage().

Member Data Documentation

string ibrcommon::Exception::_what
protected

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