Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TGraphicsException
Inherited By:
None.
Purpose:
This is an abstract base class to provide a set of data types and functions for handling exceptions that are internal to the Graphics system.
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.
- TGraphicsInternalException ()
- TGraphicsInternalException (EReason whatHappened)
- TGraphicsInternalException (const TGraphicsInternalException & copy)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructs a new internal graphic exception object using a given error code.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and directly.
- Called to specify an error code.
- Called to copy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TGraphicsInternalException & operator =( const TGraphicsInternalException & 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.
virtual ~ TGraphicsInternalException ()
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.
EReason GetReason () const
Interface Category:
API.
Purpose:
Determines what reason was used when this exception object was created.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns the error code for this exception object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void Throw () const
Interface Category:
API.
Purpose:
Causes this object to throw an exception.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws an exception of the type that is defined by this object.
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.