Class: TLicenseUsageException

Declaration: LicenseErrors.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLicenseException

Inherited By:

None.

Purpose:

A concrete class that represents the errors that occur due to improper use of the Licensing framework.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLicenseUsageException::TLicenseUsageException

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

Interface Category:

API.

Purpose:

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

Calling Context:

  1. Called in the process of throwing 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: TLicenseUsageException::operator=

TLicenseUsageException & operator =(const TLicenseUsageException & 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: TLicenseUsageException::~TLicenseUsageException

virtual ~ TLicenseUsageException ()

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

EReason GetReason () const

Interface Category:

API.

Purpose:

Overrides 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: TLicenseUsageException::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 TLicenseUsageException 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.