LicenseSpring C++ SDK 7.31.0
Easily add Software Licensing to your application
Exceptions.h File Reference
#include <stdexcept>
#include <string>
#include "APIDef.h"
#include "PODTypes.h"

Go to the source code of this file.

Classes

class  LicenseSpring::LicenseSpringException
 Base class for all LicenseSpring exceptions. More...
 
class  LicenseSpring::NoInternetException
 This exception means that SDK cannot reach the server. Because of no internet connection, DNS issues, etc. More...
 
class  LicenseSpring::NetworkTimeoutException
 This exception means that network operation timed out. More...
 
class  LicenseSpring::ConfigurationException
 Throws in case of something wrong with Configuration. E.g. wrong API or Shared key. More...
 
class  LicenseSpring::TrialNotAllowedException
 Can be thrown in case getting trial licenses is restricted by product license policy. More...
 
class  LicenseSpring::LicenseStateException
 Throws in case license is in invalid state (disabled, epired or inactive). More...
 
class  LicenseSpring::FloatingTimeoutExpiredException
 Throws in case floating license timeout or borrowing period is expired and it needs to be registered. More...
 
class  LicenseSpring::DeviceNotLicensedException
 Throws in case computer hardware configuration has been changed or license does not belong to this computer. More...
 
class  LicenseSpring::LicenseNotFoundException
 Throws in case license not found on the server. More...
 
class  LicenseSpring::ProductNotFoundException
 Throws in case product not found on the server. More...
 
class  LicenseSpring::ProductVersionException
 Throws in case installation file not found for requested app version. More...
 
class  LicenseSpring::LicenseActivationException
 Rare exception, can arise if activation is limited to some device count or license transfer is prohibited. More...
 
class  LicenseSpring::LicenseNoAvailableActivationsException
 Throws when license has already been activated maximum number of times. More...
 
class  LicenseSpring::AirGapActivationException
 Throws when confirmation code from the air gap activation portal is invalid. More...
 
class  LicenseSpring::CannotBeActivatedNowException
 Can be thrown if start date field is set for the license and current date is behind start date. More...
 
class  LicenseSpring::LicenseServerException
 Indicates internal server error, please contact support if you face this exception. More...
 
class  LicenseSpring::AuthorizationException
 Authorization failed, please check your proxy settings. More...
 
class  LicenseSpring::NotEnoughConsumptionException
 This exceptions means that Consumption license or feature ran out of resources. More...
 
class  LicenseSpring::ProductMismatchException
 This exceptions means that license product code doesn't correspond to configuration product code. More...
 
class  LicenseSpring::SignatureMismatchException
 Throws in case signature returned by LicenseSpring server is not valid. More...
 
class  LicenseSpring::LocalLicenseException
 This exception means that SDK could not read or write license to the storage. More...
 
class  LicenseSpring::ClockTamperedException
 This exception means that detected that system clock has been set back. More...
 
class  LicenseSpring::InvalidCredentialException
 This exception means that user or password is wrong. More...
 
class  LicenseSpring::MissingEmailException
 Throws when email is missing in API call for user-based product, probably attempt to get trial license without email (user id). More...
 
class  LicenseSpring::InvalidOrderIDException
 Throws when order with specified ID already exists and ShouldAppend flag set to false. More...
 
class  LicenseSpring::InvalidLicenseFeatureException
 Throws when product feature does not exist or wrong feature type. More...
 
class  LicenseSpring::LicenseSpringInternalException
 Please, contact support or try to update SDK if you got this exception. Normally should never happen. More...
 
class  LicenseSpring::UnknownLicenseSpringException
 In case LicenseSpring backend returns unexpected error or something went wrong. More...
 
class  LicenseSpring::VMIsNotAllowedException
 This exception can arise on virtual machine when VM detection is enabled but product policy prohibits running on VM. More...
 
class  LicenseSpring::VMDNotAvailableException
 Windows only. In case VM detection dll not found, tempered or detection failed. More...
 
class  LicenseSpring::MaxFloatingReachedException
 This exception can arise during online check of floating license if reached maximum users count for the license. More...
 
class  LicenseSpring::LicenseNotFloatingException
 This exception can arise during floating license registration on floating server. More...
 
class  LicenseSpring::DeviceBlacklistedException
 This exception can arise during license check if device has been blacklisted by Product manager. More...
 
class  LicenseSpring::PasswordChangeNotAllowedException
 This exception can arise if password change is restricted by company policy. More...
 
class  LicenseSpring::SSOException
 This exception can arise if the backend cannot create URL for Single sign-on (SSO) More...
 
class  LicenseSpring::SSOTokenException
 This exception can arise if token for Single sign-on (SSO) is invalid or expired. More...
 
class  LicenseSpring::BorrowLicenseException
 This exception can arise if provided borrowing period bigger than max possible. Or if license borrowing is not allowed. More...
 
class  LicenseSpring::ApiKeyException
 This exception can arise if provided api key cannot be used for the request. More...
 
class  LicenseSpring::WatchdogException
 This exception can arise if setting license watchdog failed. More...
 
class  LicenseSpring::RequestDateInvalidException
 This exception can arise if system date time on the current device is incorrectly set. More...
 
class  LicenseSpring::InvalidLicenseFeatureCodeException
 This exception can arise if the given feature code is not found on a license. More...
 
class  LicenseSpring::FeatureNotFloatingException
 This exception can arise if releasing a device on a non-floating license feature. More...
 
class  LicenseSpring::FloatingFeatureDeviceNotInUseException
 This exception can arise if device was never used to check a feature. More...
 

Namespaces

namespace  LicenseSpring