Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TPrintingException
Inherited By:
TStandardPrintServerException
Purpose:
Abstract base class for print server errors.
Instantiation:
Always allocate on the stack.
Deriving Classes:
Derive from this class to provide specific print server exceptions. Normally clients are not expected to use this class or derive from it. It is provided for internal use only. Clients should provide a Throw member function and probably a GetReason (or equivalent) error code function.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
virtual ~ TPrintServerException ()
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:
Not multithread safe.
Other Considerations:
None.
- TPrintServerException ()
- TPrintServerException (unsigned long whatHappened)
- TPrintServerException (const TPrintServerException & copy)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructor for specific exception types.
- Copy constructor.
Calling Context:
- Called by the stream-in operators.
- Called to construct a particular error type.
- Called to copy an object.
Parameters:
- Takes no parameters.
- unsigned long whatHappened -The specific error type.
- const TPrintServerException & copy -The object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TPrintServerException & operator =(const TPrintServerException & 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:
Not 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.