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:
};