License denied

License denied exceptions

TLicenseDenied is a concrete class thrown by the Licensing framework when a license request fails. TLicenseDenied is a composite exception that contains a collection of all exceptions that occurred during an attempt by TLicenseException to get licensing units.

      class TLicenseDenied : public TLicenseException {
      //    Copyright (C) 1995 Taligent, Inc. All rights reserved.
      public:
      
          enum EReason
          {
          kLicenseDenied,
          };
      
                  TLicenseDenied(EReason whatHappened, TDequeOf<TLicenseExceptionReport>& reports);
                  TLicenseDenied(const TLicenseDenied& copy);
          TLicenseDenied& operator=(const TLicenseDenied& copy);
          virtual~TLicenseDenied();
      
          virtual TStream&    operator>>=(TStream& toWhere) const;
          virtual TStream&    operator<<=(TStream& fromWhere);
      
          EReason GetReason() const;
          virtual voidThrow() const;
          virtual voidGetReportIterator (TDeleterFor<TIteratorOver<TLicenseExceptionReport> >&);
          
      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