Class: TStandardPrinterHandlerException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrinterHandlerException

Inherited By:

None.

Purpose:

Concrete class for specific printer handler errors.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None. Clients are not expected to derive from this class.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TStandardPrinterHandlerException::TStandardPrinterHandlerException

  1. TStandardPrinterHandlerException (EReason whatHappened)
  2. TStandardPrinterHandlerException (const TStandardPrinterHandlerException & copy)
  3. TStandardPrinterHandlerException ()

Interface Category:

API.

Purpose:

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

Calling Context:

  1. Called to create a specific exception type.
  2. Called to copy an object.
  3. Called by the stream-in operators and directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TStandardPrinterHandlerException::operator=

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

Member Function: TStandardPrinterHandlerException::~TStandardPrinterHandlerException

virtual ~ TStandardPrinterHandlerException ()

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: TStandardPrinterHandlerException::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Returns the reason the exception was thrown.

Calling Context:

Called to get the reason for the exception.

Parameters:

Return Value:

An enumeration tag for the exception type.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TStandardPrinterHandlerException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Polymorphically throws an exception.

Calling Context:

Called to throw an exception of this type.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through. This is the exception thrown.

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.