Class: TLicenseInvalidProvider

Declaration: LicenseErrors.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLicenseException

Inherited By:

None.

Purpose:

A concrete class that represents the error that occurs when an invalid license provider is introduced to the framework.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLicenseInvalidProvider::TLicenseInvalidProvider

  1. TLicenseInvalidProvider (EReason whatHappened)
  2. TLicenseInvalidProvider (const TLicenseInvalidProvider & copy)

Interface Category:

API.

Purpose:

  1. Creates and initializes an exception.
  2. Copy constructor.

Calling Context:

  1. Called to create an exception.
  2. 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: TLicenseInvalidProvider::operator=

TLicenseInvalidProvider & operator =(const TLicenseInvalidProvider & copy)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLicenseInvalidProvider::~TLicenseInvalidProvider

virtual ~ TLicenseInvalidProvider ()

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: TLicenseInvalidProvider::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Override inherited TStandardException function.

Calling Context:

Same as TStandardException function.

Parameters:

Return Value:

Returns the error code.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLicenseInvalidProvider::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Overrides inherited TStandardException function.

Calling Context:

Same as TStandardException function.

Parameters:

Return Value:

None.

Exceptions:

Throws TLicenseInvalidProvider unconditionally.

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.