TLicenseUsageException is a concrete class representing the errors that occur due to improper use of the Licensing framework.
class TLicenseUsageException : public TLicenseException {
// Copyright (C) 1995 Taligent, Inc. All rights reserved.
public:
enum EReason
{
kUnrecognizedException,
kBadConsumptionRate,
kBadReportExceptionArg,
kBadSelectedProviderProduct,
kMethodShouldNotBeCalled,
kNoProviderSelected,
kSubclassDidNotExecuteOperations,
};
TLicenseUsageException(EReason whatHappened);
TLicenseUsageException(const TLicenseUsageException& copy);
TLicenseUsageException& operator=(const TLicenseUsageException& copy);
virtual~TLicenseUsageException();
EReason GetReason() const;
virtual voidThrow() const;
protected:
};