Class: TStandardPrintServerException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintServerException

Inherited By:

None.

Purpose:

Concrete class for print server errors.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None. Clients should not derive from this class.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TStandardPrintServerException::TStandardPrintServerException

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

Interface Category:

API.

Purpose:

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

Calling Context:

  1. Called to construct a specific 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: TStandardPrintServerException::operator=

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

virtual ~ TStandardPrintServerException ()

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: TStandardPrintServerException::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: TStandardPrintServerException::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.