10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
InvalidLicenseToken.h
1#ifndef TENDUKE_EE_LICENSING_INVALIDLICENSETOKEN_H
2#define TENDUKE_EE_LICENSING_INVALIDLICENSETOKEN_H
3
4#include "./LicensingException.h"
5
6#include <string>
7#include <utility>
8
9namespace tenduke { namespace ee { namespace licensing {
10
11
16{
17public:
22 explicit InvalidLicenseToken(const std::string &message)
24 {}
25
31 InvalidLicenseToken(const std::string &message, std::string licensedItemName)
33 , licensedItemName(std::move(licensedItemName))
34 {}
35
37 const std::string & getLicensedItemName() const {return licensedItemName;}
38
39private:
40 std::string licensedItemName;
41};
42
43
44}}}
45
46#endif // TENDUKE_EE_LICENSING_INVALIDLICENSETOKEN_H
InvalidLicenseToken(const std::string &message)
Constructs new instance.
Definition InvalidLicenseToken.h:22
InvalidLicenseToken(const std::string &message, std::string licensedItemName)
Constructs new instance.
Definition InvalidLicenseToken.h:31
InvalidLicenseToken(const std::string &message)
Constructs new instance.
Definition InvalidLicenseToken.h:22
const std::string & getLicensedItemName() const
Returns the name of the licensed item of the invalid token, or empty string if not known.
Definition InvalidLicenseToken.h:37
Generic licensing-related exception.
Definition LicensingException.h:14
LicensingException(const std::string &message)
Constructs new instance.
Definition LicensingException.h:20
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition AuthzLicensingClient.h:13
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition APIRequest.h:4
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4