Class: TPrintingGrafDeviceException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintingException

Inherited By:

TPostScriptGrafDeviceException

Purpose:

Abstract base class for printing graf device rendering errors.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derive from this class to provide exceptions for specific graf device rendering exceptions. Clients are not normally expected to use this class unless they provide TPrinter derived classes or printer handlers for use in the printing system. Clients should provide a Throw member function and probably a GetReason (or equivalent) error code function.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TPrintingGrafDeviceException::~TPrintingGrafDeviceException

virtual ~ TPrintingGrafDeviceException ()

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

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

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructor for creating a specific type of exception.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to create a specific type of exception.
  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: TPrintingGrafDeviceException::operator=

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

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.