Class: TPrintingException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

TPrintDeviceChannelException TPrintJobException TPrintPreprocessingException TPrintPrimitiveException TPrintServerException TPrintSpoolingException TPrinterException TPrinterHandlerException TPrintingGrafDeviceException TPrintingInternalException TPrintingUserInterfaceException TRasterPrintingException

Purpose:

Abstract base class for all printing system exceptions.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Clients should derive from this class to provide specific printing exception classes for particular categories of the Printing system. This class is mainly intended for internal use although clients are allowed to use it.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TPrintingException::~TPrintingException

virtual ~ TPrintingException ()

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

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

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructor for a specific error type.
  3. Copy constructor.

Calling Context:

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

TPrintingException & operator =(const TPrintingException & 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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.