Class: TLicenseExceptionReport

Declaration: LicenseErrors.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

MCollectible

Inherited By:

None.

Purpose:

A concrete class that is used to collect the exceptions that occur during the process of trying to license a product. The TLicenseExceptionReport contains a TLicenseProvider object that identifies the license provider that failed, and the exception that was thrown that describes the failure.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

The TLicenseProduct and TStandardException objects that get passed to the constructor are adopted by the TLicenseExceptionReport object. The GetProviderProduct and GetProviderException functions return pointers to the internal storage that is owned by the TLicenseExceptionReport object.

Member Function: TLicenseExceptionReport::TLicenseExceptionReport

  1. TLicenseExceptionReport ()
  2. TLicenseExceptionReport (TLicenseProduct * provider, TLicenseException * exception)
  3. TLicenseExceptionReport (const TLicenseExceptionReport &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Create and initialize.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to create an object.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLicenseExceptionReport::~TLicenseExceptionReport

~ TLicenseExceptionReport ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLicenseExceptionReport::GetProviderProduct

void GetProviderProduct (TLicenseProduct * & provider)

Interface Category:

API.

Purpose:

Gets the TLicenseProduct object that is owned by the TLicenseExceptionReport object.

Calling Context:

Called to query the object for its TLicenseProduct component.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLicenseExceptionReport::GetProviderException

void GetProviderException (TStandardException * & exception)

Interface Category:

API.

Purpose:

Gets the TStandardException object that is owned by the TLicenseExceptionReport object.

Calling Context:

Called to query the object for its TStandardException component.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.