unity.scopes.TimeoutException

Exception to indicate that a twoway request timed out. More...

#include <unity/scopes/ScopeExceptions.h>

Inheritance diagram for unity::scopes::TimeoutException: src="https://assets.ubuntu.com/v1/57bc631a-classunity_1_1scopes_1_1_timeout_exception__inherit__graph.png" border="0" alt="Inheritance graph"/>

Public Member Functions

 TimeoutException (std::string const &reason)
 Constructs the exception. More...
 
virtual std::exception_ptr self () const override
 Returns a std::exception_ptr to this. More...
 
Copy and assignment

Copy constructor and assignment operator have the usual value semantics.

 TimeoutException (TimeoutException const &)
 
TimeoutExceptionoperator= (TimeoutException const &)
 
src="https://assets.ubuntu.com/v1/c6607712-closed.png" alt="-"/> Public Member Functions inherited from unity::scopes::MiddlewareException
 MiddlewareException (std::string const &reason)
 Constructs the exception. More...
 
 MiddlewareException (MiddlewareException const &)
 
MiddlewareExceptionoperator= (MiddlewareException const &)
 

Detailed Description

Exception to indicate that a twoway request timed out.

Constructor & Destructor Documentation

unity::scopes::TimeoutException::TimeoutException ( std::string const &  reason)
explicit

Constructs the exception.

Parameters
reasonFurther details about the cause of the exception.

Member Function Documentation

exception_ptr unity::scopes::TimeoutException::self ( ) const
overridevirtual

Returns a std::exception_ptr to this.

Returns
std::exception_ptr to this.

Reimplemented from unity::scopes::MiddlewareException.