No units available

No units available exception

TLicenseNoUnitsAvailable is an abstract base class representing an exception that occurs when a license provider recognizes the product being licensed but currently has no licensing units.

      class TLicenseNoUnitsAvailable : public TLicenseException {
      //    Copyright (C) 1995 Taligent, Inc. All rights reserved.
      public:
          virtual~TLicenseNoUnitsAvailable();
      protected:
      };
TStandardNoUnitsAvailable is a concrete class for license errors due to unavailability of sufficient licensing units for a licensed product.

      class TStandardLicenseNoUnitsAvailable : public TLicenseNoUnitsAvailable {
      //    Copyright (C) 1995 Taligent, Inc. All rights reserved.
      public:
      
          enum EReason
          {
          kNoUnitsAvailable,
          };
                  TStandardLicenseNoUnitsAvailable(EReason whatHappened);
                  TStandardLicenseNoUnitsAvailable(const TStandardLicenseNoUnitsAvailable& copy);
          TStandardLicenseNoUnitsAvailable& operator=(const TStandardLicenseNoUnitsAvailable& copy);
          virtual~TStandardLicenseNoUnitsAvailable();
      
          EReason GetReason() const;
          virtual voidThrow() const;
      
      protected:
      };

GetReason returns the information that explains why the exception was thrown by the provider. The returned value can be:


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker