|
Unity Scopes API
|
Exception to indicate that an object wasn't found by a lookup function. More...
#include <unity/scopes/ScopeExceptions.h>

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 &) |
Exception to indicate that an object wasn't found by a lookup function.
|
explicit |
Constructs the exception.
| reason | Further details about the cause of the exception. |
| name | The name of the object that was not found. |
|
virtual |
Returns the name that was passed to the constructor.
|
overridevirtual |
Returns a std::exception_ptr to this.
std::exception_ptr to this.