Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TPrintingException
Inherited By:
TRemotePrinterHandlerException
TStandardPrinterHandlerException
Purpose:
Abstract base class for all printer handler errors.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Derive for this class to provide specific printer handler exceptions. Normally clients are not expected to derive from this class since it is used mainly for internal purposes. Clients should provide a Throw member function and probably a GetReason (or equivalent) error code function.
Concurrency:
Multithread safe.
Resource Use:
No special requirements.
virtual ~ TPrinterHandlerException ()
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.
- TPrinterHandlerException ()
- TPrinterHandlerException (unsigned long whatHappened)
- TPrinterHandlerException (const TPrinterHandlerException & copy)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructor for a specific exception type.
- Copy constructor.
Calling Context:
- Called by the stream-in operators.
- Called to create a particular exception type.
- Called to copy an object.
Parameters:
- Takes no parameters.
- unsigned long whatHappened -The exception type.
- const TPrinterHandlerException & copy -The object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
TPrinterHandlerException & operator =(const TPrinterHandlerException & 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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.