Class: TAttributeException

Declaration: Attribute.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

TAttributeException, derived from TStandardException, is thrown to identify exception conditions caused by TAttribute or TAttributeGroup classes.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive any new classes from TAttributeException.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TAttributeException::TAttributeException

  1. TAttributeException ()
  2. TAttributeException (EAttributeExceptionID id)
  3. TAttributeException (const TAttributeException &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs a TAttributeException with a specific error ID.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to construct a TAttributeException with a specific error ID.
  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: TAttributeException::~TAttributeException

virtual ~ TAttributeException ()

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: TAttributeException::operator=

TAttributeException & operator =(const TAttributeException &)

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: TAttributeException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws an exception.

Calling Context:

Called directly to throw an exception.

Parameters:

Return Value:

None.

Exceptions:

Throws the TAttributeException.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TAttributeException::GetReason

EAttributeExceptionID GetReason () const

Interface Category:

API.

Purpose:

Gets the enumeration value representing the reason that the exception was thrown.

Calling Context:

Called directly to get the enumeration value representing the reason that the exception was thrown.

Parameters:

Return Value:

The enumeration value representing the reason that the exception was thrown.

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.