Class: TLineLayoutException

Declaration: LineLayout.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

This class, derived from TStandardException, is used to distinguish exceptions occurring within line layout functions from other exceptions.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derived classes of Line Layout can provide derived classes of TLineLayoutException for any exceptional conditions they define.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TLineLayoutException::operator=

TLineLayoutException & operator =(const TLineLayoutException & rhs)

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:

Multithread safe.

Other Considerations:

None.

Member Function: TLineLayoutException::~TLineLayoutException

virtual ~ TLineLayoutException ()

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:

Multithread safe.

Other Considerations:

None.

Member Function: TLineLayoutException::TLineLayoutException

  1. TLineLayoutException ()
  2. TLineLayoutException (ELineLayoutExceptionID error)
  3. TLineLayoutException (const TLineLayoutException & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Creates a TLineLayoutException with a particular exception ID.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to create an exception with a particular ID.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TLineLayoutException::GetErrorID

void GetErrorID (ELineLayoutExceptionID & id) const

Interface Category:

API.

Purpose:

Gets the error ID of this exception.

Calling Context:

Call to get the error ID of an exception.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TLineLayoutException::SetErrorID

void SetErrorID (ELineLayoutExceptionID id)

Interface Category:

API.

Purpose:

Sets the error ID of an exception.

Calling Context:

Call to reset the error ID of an exception after its construction.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TLineLayoutException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws a TLineLayoutException object.

Calling Context:

Used by the exception handling mechanism to throw a TLineLayoutException object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

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.