Class: TTransformException

Declaration: Transforms.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

Provides transformation-specific information, to signal any exception caused by a transformation. An object of the TTransformException class is instantiated when an exception is thrown during a transform operation.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive from TTransformException

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TTransformException::TTransformException

  1. TTransformException (ETransformExceptionType type)
  2. TTransformException (const TTransformException &)

Interface Category:

API.

Purpose:

  1. Creates a transformation exception of a particular type.
  2. Copy constructor.

Calling Context:

  1. Called by the Graphics system when an error occurs during a transform operation. You can create an instance of TTransformException when a transform exception occurs. Once the exception is caught, you can get the type of the exception for examination.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:


Member Function: TTransformException::~TTransformException

virtual ~ TTransformException ()

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: TTransformException::GetType

virtual ETransformExceptionType GetType ()

Interface Category:

API.

Purpose:

Identifies the type of exception that occurs during a transformation.

Calling Context:

Call this function directly.

Parameters:

Return Value:

One of the four types of exceptions; kSingularTransform, kUndefinedTransform, kPointAtInfinity, or kUndefined.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTransformException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws the TTransform exception.

Calling Context:

Called to throw an exception.

Parameters:

Return Value:

None.

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.