Class: TPrintPrimitiveException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintingException

Inherited By:

TPrimitiveRegionException

Purpose:

Used as a base class for exceptions in the area of primitive printing classes.

Instantiation:

Always allocate on the stack.

Deriving Classes:

All exceptions in the area of primitive printing should descend from this class. Clients should provide a Throw member function and probably a GetReason (or equivalent) error code function.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TPrintPrimitiveException::~TPrintPrimitiveException

virtual ~ TPrintPrimitiveException ()

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: TPrintPrimitiveException::TPrintPrimitiveException

  1. TPrintPrimitiveException ()
  2. TPrintPrimitiveException (unsigned long whatHappened)
  3. TPrintPrimitiveException (const TPrintPrimitiveException & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructor with a specific error number.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and derived classes.
  2. Called to throw a specific exception of this type.
  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: TPrintPrimitiveException::operator=

TPrintPrimitiveException & operator =(const TPrintPrimitiveException & copy)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A reference to the left-hand side object.

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.