![](../../Home/Icons/Home.gif)
![](../icons/UpCNM.gif)
![](../icons/CNMContext.gif)
![](../../Home/Icons/Search.gif)
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.
- TTransformException (ETransformExceptionType type)
- TTransformException (const TTransformException &)
Interface Category:
API.
Purpose:
- Creates a transformation exception of a particular type.
- Copy constructor.
Calling Context:
- 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.
- Called to copy an object.
Parameters:
- ETransformExceptionType type -One of the four types of exceptions: kSingularTransform, kUndefinedTransform, kPointAtInfinity, or kUndefined.
- const TTransformException & -The object to be copied.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
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.
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.
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.