Licme
Loading...
Searching...
No Matches
exceptions.h
1#pragma once
2
3#include <string>
4#include <sstream>
5
6namespace licme
7{
8namespace helpers
9{
10
16class ExceptionBase : public std::exception
17{
18public:
24 virtual const char* what() const noexcept;
25
26protected:
33 ExceptionBase(std::string message);
34
35private:
36 const std::string m_message;
37};
38
48{
49public:
55 ValidationException(std::string message);
56};
57
67{
68public:
74 IntegrationException(std::string message);
75};
76
84{
85public:
91 ActivationException(std::string message);
92};
93
98{
99public:
105 UrlParseException(std::string message);
106};
107
112{
113public:
120};
121
122} // namespace helpers
123} // namespace licme
ActivationException(std::string message)
Construct a new Activation Exception object.
virtual const char * what() const noexcept
Returns an explanation of the exception.
ExceptionBase(std::string message)
Construct a new Exception Base object.
IntegrationException(std::string message)
Construct a new Integration Exception object.
UrlParseException(std::string message)
Construct a new URL Parse Exception object.
UserAbortException()
Construct a new exception.
ValidationException(std::string message)
Construct a new Validation Exception object.