unity.scopes.ObjectNotExistException
Exception to indicate that a (twoway) request was sent to an object with an unknown identity. More...
#include <unity/scopes/ScopeExceptions.h>
Inheritance diagram for unity::scopes::ObjectNotExistException: src="https://assets.ubuntu.com/v1/e4a3e7ea-classunity_1_1scopes_1_1_object_not_exist_exception__inherit__graph.png" border="0" alt="Inheritance graph"/>
Public Member Functions | |
ObjectNotExistException (std::string const &reason, std::string const &id) | |
Constructs the exception. More... | |
virtual std::exception_ptr | self () const override |
Returns a std::exception_ptr to this . More... | |
virtual std::string | id () const |
Returns the identity of the non-existent object. More... | |
Copy and assignment | |
Copy constructor and assignment operator have the usual value semantics. | |
ObjectNotExistException (ObjectNotExistException const &) | |
ObjectNotExistException & | operator= (ObjectNotExistException 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 &) | |
MiddlewareException & | operator= (MiddlewareException const &) |
Detailed Description
Exception to indicate that a (twoway) request was sent to an object with an unknown identity.
Constructor & Destructor Documentation
|
explicit |
Constructs the exception.
- Parameters
-
reason Further details about the cause of the exception. id The identity of the unknown object.
Member Function Documentation
|
virtual |
Returns the identity of the non-existent object.
- Returns
- The identity of the non-existent object.
|
overridevirtual |
Returns a std::exception_ptr
to this
.
- Returns
std::exception_ptr
tothis
.
Reimplemented from unity::scopes::MiddlewareException.