unity.scopes.MiddlewareException
Exception to indicate that something went wrong with the middleware layer. More...
#include <unity/scopes/ScopeExceptions.h>
Inheritance diagram for unity::scopes::MiddlewareException:
src="https://assets.ubuntu.com/v1/060eac16-classunity_1_1scopes_1_1_middleware_exception__inherit__graph.png" border="0" alt="Inheritance graph"/>
Public Member Functions | |
| MiddlewareException (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. | |
| MiddlewareException (MiddlewareException const &) | |
| MiddlewareException & | operator= (MiddlewareException const &) |
Detailed Description
Exception to indicate that something went wrong with the middleware layer.
Constructor & Destructor Documentation
|
explicit |
Constructs the exception.
- Parameters
-
reason Further details about the cause of the exception.
Member Function Documentation
|
overridevirtual |
Returns a std::exception_ptr to this.
- Returns
std::exception_ptrtothis.
Reimplemented in unity::scopes::TimeoutException, and unity::scopes::ObjectNotExistException.