libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
qi::FutureException Class Reference

#include <future.hpp>

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

Definition at line 98 of file future.hpp.

virtual qi::FutureException::~FutureException ( )
throw (
)
inlinevirtual

Definition at line 107 of file future.hpp.

Member Function Documentation

ExceptionState qi::FutureException::state ( ) const
inline

Definition at line 103 of file future.hpp.

std::string qi::FutureException::stateToString ( const ExceptionState es)

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