TLicenseConfigException is an abstract base class for all license system configuration errors. Each component of the License Service that throws a configuration exception should create a derived class of TLicenseConfigException.
class TLicenseConfigException : public TLicenseException { // Copyright (C) 1995 Taligent, Inc. All rights reserved. public: virtual~TLicenseConfigException(); protected: };
class TStandardLicenseConfigException : public TLicenseConfigException { // Copyright (C) 1995 Taligent, Inc. All rights reserved. public: enum EReason { kNoProvidersFound, kLicenseDirectoryNotFound, }; TStandardLicenseConfigException(EReason whatHappened); TStandardLicenseConfigException(const TStandardLicenseConfigException& copy); TStandardLicenseConfigException& operator=(const TStandardLicenseConfigException& copy); virtual~TStandardLicenseConfigException(); EReason GetReason() const; virtual voidThrow() const; protected: };