Class: TRasterPrintingException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintingException

Inherited By:

TRasterOffScreenImagingException

Purpose:

Used as a base class for all printer exceptions related to raster printing.

Instantiation:

Always allocate on the stack.

Deriving Classes:

Only clients who derive from TPrinter or provide printer handlers should use this class. All exceptions in the area of raster printing should derive 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: TRasterPrintingException::~TRasterPrintingException

virtual ~ TRasterPrintingException ()

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

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

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. constructor for specific type of this class.
  3. Copy constructor.

Calling Context:

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

TRasterPrintingException & operator =(const TRasterPrintingException & 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.