Class: TGraphicsException

Declaration: GraphicsExceptions.h

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.

Member Function: TGraphicsException::~TGraphicsException

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.

Member Function: TGraphicsException::TGraphicsException

  1. TGraphicsException ()
  2. TGraphicsException (unsigned long whatHappened)
  3. TGraphicsException (const TGraphicsException & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs a new graphic exception object using a given error code.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and directly.
  2. Called when a specific error type is known.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TGraphicsException::operator=

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.