Class: TRemotePrinterHandlerException

Declaration: PrintingExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrinterHandlerException

Inherited By:

None.

Purpose:

Concrete class for remote 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: TRemotePrinterHandlerException::TRemotePrinterHandlerException

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

Interface Category:

API.

Purpose:

  1. Constructor for specific exception types.
  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: TRemotePrinterHandlerException::operator=

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

virtual ~ TRemotePrinterHandlerException ()

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