19 #ifndef UNITY_SCOPES_SCOPEEXCEPTIONS_H
20 #define UNITY_SCOPES_SCOPEEXCEPTIONS_H
22 #include <unity/Exception.h>
59 virtual std::exception_ptr
self()
const override;
93 virtual std::exception_ptr
self()
const override;
99 virtual std::string
id()
const;
134 virtual std::exception_ptr
self()
const override;
166 virtual std::exception_ptr
self()
const override;
199 virtual std::exception_ptr
self()
const override;
205 virtual std::string
name()
const;
virtual std::string id() const
Returns the identity of the non-existent object.
Definition: ScopeExceptions.cpp:75
NotFoundException(std::string const &reason, std::string const &name)
Constructs the exception.
Definition: ScopeExceptions.cpp:125
Exception to indicate that something went wrong with the middleware layer.
Definition: ScopeExceptions.h:34
virtual std::string name() const
Returns the name that was passed to the constructor.
Definition: ScopeExceptions.cpp:148
Exception to indicate that something went wrong with the contents of configuration files...
Definition: ScopeExceptions.h:141
TimeoutException(std::string const &reason)
Constructs the exception.
Definition: ScopeExceptions.cpp:80
Exception to indicate that an object wasn't found by a lookup function.
Definition: ScopeExceptions.h:173
MiddlewareException(std::string const &reason)
Constructs the exception.
Definition: ScopeExceptions.cpp:29
ObjectNotExistException(std::string const &reason, std::string const &id)
Constructs the exception.
Definition: ScopeExceptions.cpp:50
Exception to indicate that a twoway request timed out.
Definition: ScopeExceptions.h:109
Exception to indicate that a (twoway) request was sent to an object with an unknown identity...
Definition: ScopeExceptions.h:67
ConfigException(std::string const &reason)
Constructs the exception.
Definition: ScopeExceptions.cpp:102