Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TStandardException
Inherited By:
TGraphicsInternalException
Purpose:
This is an abstract base class to provide a set of data types and functions for handling general exceptions.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Classes can be derived from this class whenever user-defined exception types are needed.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
virtual ~ TGraphicsException ()
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.
- TGraphicsException ()
- TGraphicsException (unsigned long whatHappened)
- TGraphicsException (const TGraphicsException & copy)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructs a new graphic exception object using a given error code.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and directly.
- Called when a specific error type is known.
- Called to copy an object.
Parameters:
- Takes no parameters.
- unsigned long whatHappened -The code number for the error that occurred.
- const TGraphicsException & copy -The exception object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TGraphicsException & operator =(const TGraphicsException & 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.