Unity Scopes API
|
Exception to indicate that a (twoway) request was sent to an object with an unknown identity. More...
#include <unity/scopes/ScopeExceptions.h>
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 &) |
![]() | |
MiddlewareException (std::string const &reason) | |
Constructs the exception. More... | |
MiddlewareException (MiddlewareException const &) | |
MiddlewareException & | operator= (MiddlewareException const &) |
Exception to indicate that a (twoway) request was sent to an object with an unknown identity.
|
explicit |
Constructs the exception.
reason | Further details about the cause of the exception. |
id | The identity of the unknown object. |
|
virtual |
Returns the identity of the non-existent object.
|
overridevirtual |
Returns a std::exception_ptr
to this
.
std::exception_ptr
to this
. Reimplemented from unity::scopes::MiddlewareException.