libqi-api  2.0.6.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
qi::FutureException Class Reference

#include <future.hpp>

List of all members.

Public Types

enum  ExceptionState {
  ExceptionState_FutureTimeout, ExceptionState_FutureCanceled, ExceptionState_FutureNotCancelable, ExceptionState_FutureHasNoError,
  ExceptionState_FutureUserError, ExceptionState_PromiseAlreadySet
}

Public Member Functions

 FutureException (const ExceptionState &es, const std::string &str=std::string())
ExceptionState state () const
std::string stateToString (const ExceptionState &es)
virtual ~FutureException () throw ()

Detailed Description

base exception raised for all future error.

Definition at line 81 of file future.hpp.


Member Enumeration Documentation

Enumerator:
ExceptionState_FutureTimeout 
ExceptionState_FutureCanceled 
ExceptionState_FutureNotCancelable 
ExceptionState_FutureHasNoError 
ExceptionState_FutureUserError 
ExceptionState_PromiseAlreadySet 

Definition at line 83 of file future.hpp.


Constructor & Destructor Documentation

qi::FutureException::FutureException ( const ExceptionState es,
const std::string &  str = std::string() 
) [inline, explicit]

Definition at line 98 of file future.hpp.

virtual qi::FutureException::~FutureException ( ) throw () [inline, virtual]

Definition at line 107 of file future.hpp.


Member Function Documentation

Definition at line 103 of file future.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines