Class: TStandardPrintSpoolingException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintSpoolingException

Inherited By:

None.

Purpose:

Concrete class for spooling 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: TStandardPrintSpoolingException::TStandardPrintSpoolingException

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

Interface Category:

API.

Purpose:

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

Calling Context:

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

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TStandardPrintSpoolingException::operator=

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

virtual ~ TStandardPrintSpoolingException ()

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

EReason GetReason () const

Interface Category:

API.

Purpose:

Returns the reason that 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: TStandardPrintSpoolingException::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.