unity.scopes.NotFoundException
Exception to indicate that an object wasn't found by a lookup function. More...
#include <unity/scopes/ScopeExceptions.h>
Inheritance diagram for unity::scopes::NotFoundException: src="https://assets.ubuntu.com/v1/d601324d-classunity_1_1scopes_1_1_not_found_exception__inherit__graph.png" border="0" alt="Inheritance graph"/>
Public Member Functions | |
NotFoundException (std::string const &reason, std::string const &name) | |
Constructs the exception. More... | |
virtual std::exception_ptr | self () const override |
Returns a std::exception_ptr to this . More... | |
virtual std::string | name () const |
Returns the name that was passed to the constructor. More... | |
Copy and assignment | |
Copy constructor and assignment operator have the usual value semantics. | |
NotFoundException (NotFoundException const &) | |
NotFoundException & | operator= (NotFoundException const &) |
Detailed Description
Exception to indicate that an object wasn't found by a lookup function.
Constructor & Destructor Documentation
|
explicit |
Constructs the exception.
- Parameters
-
reason Further details about the cause of the exception. name The name of the object that was not found.
Member Function Documentation
|
virtual |
Returns the name that was passed to the constructor.
- Returns
- The name that was passed to the constructor.
|
overridevirtual |
Returns a std::exception_ptr
to this
.
- Returns
std::exception_ptr
tothis
.