wibble  0.1.28
Public Member Functions
wibble::exception::Interrupted Class Reference

Exception thrown when some long event is interrupted by an external event (like a system call being interrupted by a signal) More...

#include <exception.h>

Inheritance diagram for wibble::exception::Interrupted:
Inheritance graph
[legend]
Collaboration diagram for wibble::exception::Interrupted:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Interrupted () throw ()
 Interrupted (const std::string &context) throw ()
virtual const char * type () const throw ()
 Get a string tag identifying the exception type.
- Public Member Functions inherited from wibble::exception::Generic
 Generic () throw ()
 Generic (const std::string &context) throw ()
virtual ~Generic () throw ()
virtual std::string desc () const throw ()
 Get a string describing what happened that threw the exception.
virtual const std::string & fullInfo () const throw ()
 Format in a string all available information about the exception.
virtual const char * what () const throw ()
- Public Member Functions inherited from wibble::exception::Context
 Context () throw ()
 Context (const std::string &context) throw ()
void addContext (const std::string &c) throw ()
std::string formatContext () const throw ()
const std::vector< std::string > & context () const throw ()

Additional Inherited Members

- Protected Attributes inherited from wibble::exception::Generic
std::string m_formatted
- Protected Attributes inherited from wibble::exception::Context
std::vector< std::string > m_context

Detailed Description

Exception thrown when some long event is interrupted by an external event (like a system call being interrupted by a signal)

It is a direct child of ContextException, and has the very same semantics.

Warning:
Any function throwing InterruptedException must allow to be called again with the same parameters to retry the operation

Constructor & Destructor Documentation

wibble::exception::Interrupted::Interrupted ( ) throw ()
inline
wibble::exception::Interrupted::Interrupted ( const std::string &  context) throw ()
inline

Member Function Documentation

virtual const char* wibble::exception::Interrupted::type ( ) const throw ()
inlinevirtual

Get a string tag identifying the exception type.

Reimplemented from wibble::exception::Generic.

Reimplemented in wibble::exception::WaitInterrupted.


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